Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

deps: update consul-server-connection-manager #484

Merged
merged 4 commits into from
Jan 30, 2023

Conversation

mikemorris
Copy link
Contributor

@mikemorris mikemorris commented Jan 18, 2023

This resolves test flakiness issues caused by the un-threadsafety of registering a gRPC balancer in NewWatcher rather than an init() function. This didn't cause problems in actual deployments, but could happen when in our test suite when multiple calls to NewWatcher happened concurrently.

Changes proposed in this PR:

How I've tested this PR:

Research and discussion on upstream implementation with @kisunji and @pglass, testing hashicorp/consul-server-connection-manager#28 as a dependency locally and in CI. Thanks for the help in tracking down these issues!

How I expect reviewers to test this PR:

The CI unit tests should stop being flaky.

Checklist:

  • Tests added
  • CHANGELOG entry added

    Run make changelog-entry for guidance in authoring a changelog entry, and
    commit the resulting file, which should have a name matching your PR number.
    Entries should use imperative present tense (e.g. Add support for...)

@mikemorris mikemorris added pr/no-changelog Skip the CI check that requires a changelog entry do not merge labels Jan 18, 2023
@mikemorris mikemorris requested review from andrewstucki and a team January 24, 2023 19:22
@mikemorris mikemorris changed the title deps: update consul-server-connection-manager to v0.1.2 deps: update consul-server-connection-manager Jan 26, 2023
Copy link
Member

@nathancoleman nathancoleman left a comment

Choose a reason for hiding this comment

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

Thanks for knocking this out!

@mikemorris mikemorris merged commit 663a745 into main Jan 30, 2023
@mikemorris mikemorris deleted the deps/cscm-default-pickfirst branch January 30, 2023 22:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/0.5.x pr/no-changelog Skip the CI check that requires a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants