-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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 flaking auth member remove test #15580
fix flaking auth member remove test #15580
Conversation
The test case |
1e802fd
to
257a05a
Compare
Yeah, I found the reason. Updated in the PR. |
257a05a
to
bd911e6
Compare
f7985c1
to
d7443cb
Compare
Hi @serathius @ahrtr, thanks for the review!! I have updated the PR based on the feedback. PTAL to fix the flaky test, thanks! |
Signed-off-by: Chao Chen <chaochn@amazon.com>
d7443cb
to
caed563
Compare
https://github.com/etcd-io/etcd/actions/runs/4602707841/jobs/8131973021?pr=15580 Test failed right after the successful cluster URL and member name publish... I will raise another PR to fix it. Could you please click the test re-run? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @chaochn47
memberIDToEndpoints = make(map[uint64]string, len(clus.Endpoints())) | ||
for _, ep := range clus.Endpoints() { | ||
cc := testutils.MustClient(clus.Client(WithEndpoints([]string{ep}))) | ||
gresp, err := cc.Get(ctx, "health", config.GetOptions{}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be done with one Status
request instead of 3 Get
request.
Still, it's not a big issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider a followup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aha, thanks for the suggestion! Yeah, it definitely worth a quick follow up. I will pick it up tomorrow.
Before the fix,
can reproduce the error.
It was reported in the Mesure Test Flakiness workflow
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.