Skip to content

Commit

Permalink
Increase timeout for TestResourceManagerIsSafeForConcurrentAccessAndE…
Browse files Browse the repository at this point in the history
  • Loading branch information
madelson authored Jan 7, 2023
1 parent f08d13f commit 04b192b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public static void TestResourceManagerIsSafeForConcurrentAccessAndEnumeration(bo
using Barrier barrier = new(Threads);
Task task = Task.WhenAll(Enumerable.Range(0, Threads).Select(_ => Task.Run(WaitForBarrierThenEnumerateResources)));

Assert.True(task.Wait(TimeSpan.FromSeconds(10)));
Assert.True(task.Wait(TimeSpan.FromSeconds(30)));

void WaitForBarrierThenEnumerateResources()
{
Expand Down

0 comments on commit 04b192b

Please sign in to comment.