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

Improve comments for clientv3test.TestWatchResumeInitRev #16867

Closed
lavacat opened this issue Nov 6, 2023 · 4 comments · Fixed by #16888
Closed

Improve comments for clientv3test.TestWatchResumeInitRev #16867

lavacat opened this issue Nov 6, 2023 · 4 comments · Fixed by #16888
Assignees
Labels
area/testing contribfest Issues for Contribfest workshop happening during KubeCon type/cleanup

Comments

@lavacat
Copy link

lavacat commented Nov 6, 2023

What would you like to be added?

Please review the test and provide summary at the beginning of the test.

Why is this needed?

improving readability

@lavacat lavacat added area/testing type/cleanup contribfest Issues for Contribfest workshop happening during KubeCon labels Nov 6, 2023
@greenmoon55
Copy link
Contributor

Would like to work on this!

@greenmoon55
Copy link
Contributor

@jmhbnz In TestWatchResumeInitRev, does revision starts from 1 so we expect 4 here?

if resp, ok := <-wch; !ok || resp.Header.Revision != 4 {

@greenmoon55
Copy link
Contributor

Shouldn't we expect 3 here if the start revision is 1?

@greenmoon55
Copy link
Contributor

Nevermind, I got it. Created a pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing contribfest Issues for Contribfest workshop happening during KubeCon type/cleanup
Development

Successfully merging a pull request may close this issue.

2 participants