-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dispose async test timeout and better diagnostics #106272
Conversation
Tagging subscribers to this area: @dotnet/area-extensions-dependencyinjection |
|
||
Assert.True(doesNotHang); | ||
Assert.True(asyncDisposableResource.DisposeAsyncCalled); | ||
Assert.True(doesNotHang, "!doesNotHang"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To verify which Assert.True is actually failing.
@@ -392,10 +392,10 @@ public void GetAsyncService_DisposeAsyncOnSameThread_ThrowsAndDoesNotHangAndDisp | |||
var service = sp.GetRequiredService<DisposeServiceProviderInCtorAsyncDisposable>(); | |||
}); | |||
}); | |||
}).Wait(TimeSpan.FromSeconds(10)); | |||
}).Wait(TimeSpan.FromSeconds(20)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To help determine if the test is timing out; likely this will be reverted.
To help diagnose #104041.