- ABP Framework version: v7.2.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
Hi, when I add the following module to the application layer typeof(AbpBackgroundWorkersHangfireModule). all the application tests starts failing
following is the screenshot of the application module class

following is the screenshot of error I'm getting after adding this module typeof(AbpBackgroundWorkersHangfireModule)

10 Answer(s)
-
0
Hi,
You can configure in-memory storage for Hangfire in the
.TestBaseproject https://www.nuget.org/packages/Hangfire.InMemorycontext.Services.AddHangfire(config => { config.UseInMemoryStorage(); });Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Hi,
- BackgroundJobWorker is a built-in worker in ABP that is used for BackgroundJob system.
- TokenCleanupBackgroundWorkers is a built-in worker in ABP that is used to clean the old tokens.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Hi
I didn't understand what you meant, Can you explain in detail?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I mean when I start the application, the application takes longer time to run as I have shared in the previous screenshot. (screenshot shows the initial logs when we start the app with kestrel server) in the screenshot you can see the time 13:22 to 13:26 and the app didn't up yet, app kind of stuck at the startup
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Sorry, I see that hangfire is outputting the log. Your application seems to be running.this looks fine
Could you share the full logs? thanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I'm not able to replicate the issue because it happens once in a while. I will reopen this ticket if the issue comes back
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)



