Comments (3)
InMemoryStorage
class now implements IDisposable
. So something is calling the Dispose
method. Try creating instances of this class explicitly for each test, instead of relying on a static instance in JobStorage.Current
. In this case, unit tests will be properly isolated, and you will not have any shared state between test runs.
from hangfire.
Thanks for the quick response.
I've moved some of the JobStorage usages around and it appears to be behaving for now.
Appreciate the help.
from hangfire.
Great, thanks for the update!
from hangfire.
Related Issues (20)
- Background job unable to be queued
- Problem with IReccuringJob implementation
- Hangfire Dashboard authorization is not working in .NET Core HOT 2
- why
- .NET 8 Application Dequeues Recurring Jobs without Hangfire Configuration
- Mixing .NET Framework and .NET Core HOT 7
- Jobs are picked up from queues that the server is not supposed to listen to
- Hangfire UI - redirect_uri is http instead of https
- Why hangfire not use meter for metrics
- Hangfire SQL Storage with Aspire hosting SQL Server, unable to prepare schema HOT 4
- Hangfire big overhead / delay by scheduling jobs HOT 1
- Sql DeadLocks HOT 1
- Hide Expired Jobs in Dasboard UI
- Hangfire with Aspire integration HOT 2
- AsyncLocal<T> retains values on every job run HOT 2
- DashboardUI: Outdated no longer supported Bootstrap 3.4.1 library is used HOT 1
- Lunch two instance of Hangfire
- KeyNotFoundException when retrieving recurring jobs HOT 8
- Jobs becoming stuck in processing state HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hangfire.