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

Add a test verifying that etcd watches work even when there's a bunch of unrelated changes #6257

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

lavalamp
Copy link
Member

This passes for me locally. Suggests that #6059's problem is our use of etcd, not etcd itself.

@dchen1107
Copy link
Member

Based on your description, the test itself couldn't reproduce the watch delay at all? Since you suggested that issue should be in the way on our use of etcd, can we make the test simulating how we are using etcd?

@lavalamp
Copy link
Member Author

lavalamp commented Apr 1, 2015

The point of this test is to rule out etcd as a source of the problem.

...hm, maybe I could make a more advanced test that checks our entire system. That would be interesting.

@dchen1107
Copy link
Member

Thanks for the effort on reproducing the issue. Now we might have to disable the test by default, so that it can pass, be merged, and everyone can play with it. :-P

@lavalamp
Copy link
Member Author

lavalamp commented Apr 2, 2015

Test is disabled by default now.

@lavalamp
Copy link
Member Author

lavalamp commented Apr 2, 2015

...and I removed the test that didn't repro the issue. should be good to go now.

@@ -132,3 +145,214 @@ func TestClient(t *testing.T) {
}
}
}

func TestMultiWatch(t *testing.T) {
// Disable this test as long as it demonstrates a problem.
Copy link
Member

Choose a reason for hiding this comment

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

nit: I would rather have a TODO: enable the test once the problem is resolved. Up to you on this.

@dchen1107
Copy link
Member

LGTM except one nit. Will merge once travis / shippable is green.

dchen1107 added a commit that referenced this pull request Apr 2, 2015
Add a test verifying that etcd watches work even when there's a bunch of unrelated changes
@dchen1107 dchen1107 merged commit 6ac59c8 into kubernetes:master Apr 2, 2015
@lavalamp lavalamp deleted the fix6 branch September 1, 2020 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants