datamanager tests: increase etcd waitdown timeout

This commit is contained in:
Simone Gotti 2019-11-12 10:47:04 +01:00
parent 581a610523
commit dfd0f8c806
1 changed files with 2 additions and 2 deletions

View File

@ -128,10 +128,10 @@ func TestEtcdReset(t *testing.T) {
t.Logf("stopping datamanager") t.Logf("stopping datamanager")
cancel() cancel()
t.Logf("stopping etcd")
// Reset etcd // Reset etcd
t.Logf("stopping etcd")
shutdownEtcd(tetcd) shutdownEtcd(tetcd)
if err := tetcd.WaitDown(10 * time.Second); err != nil { if err := tetcd.WaitDown(20 * time.Second); err != nil {
t.Fatalf("unexpected err: %v", err) t.Fatalf("unexpected err: %v", err)
} }
t.Logf("resetting etcd") t.Logf("resetting etcd")