- 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
.TestBase
project https://www.nuget.org/packages/Hangfire.InMemorycontext.Services.AddHangfire(config => { config.UseInMemoryStorage(); });
-
0
-
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.
-
0
-
0
-
0
-
0
Hi
I didn't understand what you meant, Can you explain in detail?
-
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
-
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.
-
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