Skip to content

Conversation

@AntonLapounov
Copy link
Member

@AntonLapounov AntonLapounov commented Aug 18, 2022

The tests assumed that 200 milliseconds was enough time for a test action to start executing and get to the expected location in the code. Apparently, in some CI jobs a test action did not start in that amount of time. Make the tests more robust by ensuring that we abort every test action at the expected location. I also added several more tests and improved test names and comments.

Fixes #73647, fixes #73739.

@ghost
Copy link

ghost commented Aug 18, 2022

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost assigned AntonLapounov Aug 18, 2022
@AntonLapounov
Copy link
Member Author

Thank you for the quick code review!

@AntonLapounov AntonLapounov merged commit 7704f8b into dotnet:main Aug 18, 2022
@AntonLapounov AntonLapounov deleted the ImproveControlledExecutionTests branch August 18, 2022 21:35
@AntonLapounov
Copy link
Member Author

/backport to release/7.0-rc1

@github-actions
Copy link
Contributor

Started backporting to release/7.0-rc1: https://github.com/dotnet/runtime/actions/runs/2885634467

@ghost ghost locked as resolved and limited conversation to collaborators Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants