Merge pull request #174 from sgotti/datamanager_test_increas_etcd_waitdown_timeout

datamanager tests: increase etcd waitdown timeout
This commit is contained in:
Simone Gotti 2019-11-12 11:02:12 +01:00 committed by GitHub
commit aff44f7e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -128,10 +128,10 @@ func TestEtcdReset(t *testing.T) {
t.Logf("stopping datamanager")
cancel()
t.Logf("stopping etcd")
// Reset etcd
t.Logf("stopping etcd")
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.Logf("resetting etcd")