Uh oh!
There was an error while loading. Please reload this page.
Fix potential flakiness in test_run_until_complete_baseexception - #100148
Conversation
gvanrossum
commented
Dec 10, 2022
@kumaraditya303 Can you review this? |
kumaraditya303
commented
Dec 10, 2022
Done & merged. |
kumaraditya303
commented
Dec 10, 2022
This is indeed better than sleeping for a small delay. |
gvanrossum
commented
Dec 10, 2022
Yup, a very insightful solution. Thanks @fantix ! |
AlexWaygood
commented
Dec 10, 2022
This PR appears to have resulted in an empty commit, likely because the PR branch was not fully up to date with |
gvanrossum
commented
Dec 10, 2022
Very weird. Especially since when I check out main and pull to head, the change is there, and attributed to this PR. So maybe the problem is with the GitHub UI? I saw some mention of enpty branches on Discord but chose to ignore it. |
AlexWaygood
commented
Dec 10, 2022
Oh, weird. Yes, I see the same. It must be something wrong with the GitHub UI. My sincere apologies for the false accusation, @fantix! |
fantix
commented
Dec 10, 2022
No worries @AlexWaygood , thank you for being careful ❤️ |
gvanrossum
commented
Dec 12, 2022
Hm, there's definitely something weird though. I see three commits for this PR in the main branch: Two of those are empty. What kind of GitHub hiccup could have caused that??? |
kumaraditya303
commented
Dec 13, 2022
Possibly we can report this to GitHub somehow or ask anyone from GitHub to look at this? I don't know how to do it though. |
Refs #24477, use a more reliable way to run the test.
If the covering issue happens again, the loop would be requested to stop in the first iteration and got stopped after the first iteration. In that case, our
func()in the second iteration won't be called.