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

Backport of Various race condition and test fixes. into release/1.17.x #20216

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #20212 to be assessed for backporting due to the inclusion of the label backport/1.17.

The below text is copied from the body of the original PR.


This PR fixes various test flakes / failures. Notably, it introduces a new check to test agent initialization that will wait for the bootstrap process to complete successfully before unblocking (which I suspect was causing a large number of flakes in tests globally).

It appears that there may have been a race condition in some of the peering state store logic due to the object not being cloned before mutation, which was flagged in tests. It doesn't appear to be a code path that would be encountered outside of our tests (which inserts partial data).


Overview of commits

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved Consul Bot automated PR

@hashi-derek
Copy link
Member

Closing and re-opening to trigger CICD

@hashi-derek hashi-derek reopened this Jan 16, 2024
@hashi-derek hashi-derek merged commit 0d97ec5 into release/1.17.x Jan 16, 2024
193 checks passed
@hashi-derek hashi-derek deleted the backport/derekm/fix-bad-tests/vastly-allowing-urchin branch January 16, 2024 16:43
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.

3 participants