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

fix test flake for RPC TLS enforcement test #16199

Merged
merged 2 commits into from
Feb 16, 2023
Merged

Conversation

tgross
Copy link
Member

@tgross tgross commented Feb 16, 2023

The RPC TLS enforcement test was frequently failing with broken connections. The
most likely cause was that the tests started to run before the server had
started its RPC server. Wait until it self-elects to ensure that the RPC server
is up. This seems to have corrected the error; I ran this 3 times without a
failure (even accounting for gotestsum retries).

Also, fix a minor test bug that didn't impact the test but showed an incorrect
usage for Status.Ping.

@tgross tgross added backport/1.4.x backport to 1.4.x release line backport/1.3.x backport to 1.3.x release line theme/testing Test related issues theme/flaky-tests labels Feb 16, 2023
@tgross tgross added this to the 1.5.0 milestone Feb 16, 2023
@tgross tgross marked this pull request as ready for review February 16, 2023 16:38
Copy link
Member

@shoenig shoenig left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lgfa29 lgfa29 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 digging into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x backport to 1.3.x release line backport/1.4.x backport to 1.4.x release line theme/flaky-tests theme/testing Test related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants