diff --git a/discovery/kv/kv_test.go b/discovery/kv/kv_test.go index 4fe5239..dab3939 100644 --- a/discovery/kv/kv_test.go +++ b/discovery/kv/kv_test.go @@ -251,7 +251,7 @@ func (ds *DiscoverySuite) TestWatch(c *check.C) { close(mockCh) // Give it enough time to call WatchTree. - time.Sleep(3) + time.Sleep(3 * time.Second) // Stop and make sure it closes all channels. close(stopCh)