Skip to content
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

[v14] Attempt to deflake TestDynamicClientReuse #49081

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #49050 to branch/v14

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Nov 15, 2024
@github-actions github-actions bot requested review from espadolini and zmb3 November 15, 2024 18:12
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-49081.d3b94eevwi10ji.amplifyapp.com

The test was only waiting for a subset of services to be ready,
proceeding with the test, and then closing the process. This caused
a few problems that contributed to the flakiness. First, not calling
`process.Wait` resulted in some services still being active and
writing to the data directory while the testing framework was cleaning
up the temp directory. Second, adding the Wait alone, would cause
deadlocks because the test did not wait for all services to be
initialized and ready before shutting down.

In addition to making both of th changes above, the test was also
modified to reduce the number of services being launched to slightly
speed up the test.

Closes #46958.
@rosstimothy rosstimothy force-pushed the bot/backport-49050-branch/v14 branch from 917ec25 to 6394b0e Compare November 15, 2024 18:41
@rosstimothy rosstimothy added this pull request to the merge queue Nov 15, 2024
Merged via the queue into branch/v14 with commit c139607 Nov 15, 2024
28 checks passed
@rosstimothy rosstimothy deleted the bot/backport-49050-branch/v14 branch November 15, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants