-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Conversation
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? |
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. |
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 |
Test is disabled by default now. |
...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. |
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.
nit: I would rather have a TODO: enable the test once the problem is resolved. Up to you on this.
LGTM except one nit. Will merge once travis / shippable is green. |
Add a test verifying that etcd watches work even when there's a bunch of unrelated changes
This passes for me locally. Suggests that #6059's problem is our use of etcd, not etcd itself.