Skip to content

Fix flaky SingleThreadEventExecutorTest.testNotSuspendedUntilSchedule… - #15256

Merged
normanmaurer merged 1 commit into
4.2from
flaky_test
May 23, 2025
Merged

normanmaurer merged 1 commit into
4.2from
flaky_test

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

…dTaskIsCancelled

Motivation:

The testNotSuspendedUntilScheduledTaskIsCancelled was flaky the removal of the scheduled task from the internal task queue might be offloaded to the eventloop and so may take a moment

Modifications:

  • Change assert to loop and add a timeout

Result:

Test should not be flaky anymore

…dTaskIsCancelled

Motivation:

The testNotSuspendedUntilScheduledTaskIsCancelled was flaky the removal
of the scheduled task from the internal task queue might be offloaded to
the eventloop and so may take a moment

Modifications:

- Change assert to loop and add a timeout

Result:

Test should not be flaky anymore
@normanmaurer

Copy link
Copy Markdown
Member Author

Noticed this test was flaky and failed from time to time on CI. This should fix it

@normanmaurer normanmaurer added this to the 4.2.2.Final milestone May 23, 2025
@normanmaurer

Copy link
Copy Markdown
Member Author

Let me merge this... Trying to get the builds a bit more stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant