Fix too short time.Sleep() in pkg/discovery/kv/kv_test.go

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2016-05-27 04:08:55 +00:00
parent 29dbcbad87
commit 937851580c
1 changed files with 1 additions and 1 deletions

View File

@ -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)