How to keep integration-test running until Hangfire task triggered?

aspnetcore
sql-server
Tags: #<Tag:0x00007f4996f8f5c0> #<Tag:0x00007f4997377f48>

#1

ASP.NET Core 2.2.0

I have an integration-test that schedules a Hangfire task.

In the callback method I have a breakpoint.

How can I keep the integration-test running until the breakpoint is hit ?