Skip to content

Conversation

aSemy
Copy link
Contributor

@aSemy aSemy commented Jul 28, 2024

Use the test coroutine scope to enable virtual time, to help make DescribeSpecExample less flaky.

Part of #4113

Use the test coroutine scope to enable virtual time, to help make DescribeSpecExample less flaky.
@aSemy aSemy mentioned this pull request Jul 28, 2024
20 tasks
@sksamuel
Copy link
Member

Do you know why it's flakey atm?

@aSemy
Copy link
Contributor Author

aSemy commented Jul 28, 2024

Do you know why it's flakey atm?

I noticed that it failed in #4218, which adds two JVM tests simultaneously. I suspect that the JVM tests running together cause delayed test launching, which triggers the timeouts.

The timeouts could be increased, but I thought it would be more flexible and robust to use virtual time. This has the added benefit that the executed tests can be verified.

@aSemy aSemy marked this pull request as ready for review July 30, 2024 05:16
@aSemy aSemy added this pull request to the merge queue Jul 30, 2024
Merged via the queue into master with commit 8706234 Jul 30, 2024
7 checks passed
@aSemy aSemy deleted the adam/fix/DescribeSpecExample-flaky branch July 30, 2024 06:05
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.

2 participants