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

tests: Add integration test for revision monotonic under failure injection #13584

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

serathius
Copy link
Member

Adding test to try reproducing #13514

Copy link
Contributor

@ptabor ptabor left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you.

for i := 0; i < 5; i++ {
leader := clus.WaitLeader(t)
time.Sleep(time.Second)
clus.Members[leader].InjectPartition(t, clus.Members[(leader+1)%3], clus.Members[(leader+2)%3])
Copy link
Contributor

Choose a reason for hiding this comment

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

What if we disconnect a non-leader ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added tests that disconnect other members.

@serathius serathius changed the title [Draft] tests: Add integration test for revision monotonic under failure injection tests: Add integration test for revision monotonic under failure injection Jan 12, 2022
@ptabor ptabor merged commit 8b91b82 into etcd-io:main Jan 14, 2022
@serathius serathius deleted the monotonic branch June 15, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants