Skip to content
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

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

steveharter
Copy link
Member

To help diagnose #104041.

@steveharter steveharter added test-bug Problem in test source code (most likely) area-Extensions-DependencyInjection labels Aug 12, 2024
@steveharter steveharter added this to the 9.0.0 milestone Aug 12, 2024
@steveharter steveharter self-assigned this Aug 12, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-dependencyinjection
See info in area-owners.md if you want to be subscribed.


Assert.True(doesNotHang);
Assert.True(asyncDisposableResource.DisposeAsyncCalled);
Assert.True(doesNotHang, "!doesNotHang");
Copy link
Member Author

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));
Copy link
Member Author

@steveharter steveharter Aug 12, 2024

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.

@steveharter steveharter merged commit c71fd55 into dotnet:main Aug 12, 2024
81 of 84 checks passed
@steveharter steveharter deleted the Issue104041 branch August 12, 2024 17:54
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Extensions-DependencyInjection test-bug Problem in test source code (most likely)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants