Skip to content

Commit

Permalink
#1833 add extra checks
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Dec 19, 2024
1 parent a95133b commit 313fb30
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ await backgroundQueue.QueueBackgroundWorkItemAsync(async _ =>
await Task.Delay(500);
}

if ( !isExecuted )
{
await Task.Delay(500);
}

Assert.IsTrue(isExecuted);

await service.StopAsync(CancellationToken.None);
Expand Down

0 comments on commit 313fb30

Please sign in to comment.