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

[v16] Attempt to deflake TestDynamicClientReuse #49079

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #49050 to branch/v16

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 added the no-changelog Indicates that a PR does not require a changelog entry label Nov 15, 2024
Copy link

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

Access this pull request here: https://pr-49079.d212ksyjt6y4yg.amplifyapp.com

@rosstimothy rosstimothy added this pull request to the merge queue Nov 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 15, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Nov 15, 2024
Merged via the queue into branch/v16 with commit 63d4c9e Nov 15, 2024
42 checks passed
@rosstimothy rosstimothy deleted the bot/backport-49050-branch/v16 branch November 15, 2024 19:55
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