Skip to content

Fix flaky test CanShutdownServerProcess #8638

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

Conversation

rokonec
Copy link
Member

@rokonec rokonec commented Apr 5, 2023

Fixes #8631

Context

We have got him!
There was eluding low freq flaky test. It was caused by race condition between finishing build server client and server releasing its I am busy mutex.

Changes Made

Wait and retry when it was detected busy for 500 ms.
Clean additional logging from test.

Testing

Local, PR

Co-authored-by: Rainer Sigwald <[email protected]>
Co-authored-by: Rainer Sigwald <[email protected]>
@rokonec
Copy link
Member Author

rokonec commented Apr 5, 2023

/azp run

@rokonec rokonec added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Apr 5, 2023
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rainersigwald rainersigwald merged commit 68766d3 into dotnet:main Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Infra]: CanShutdownServerProcess test is fleaky
3 participants