Skip to content

Commit

Permalink
Make cleanup error in storage test
Browse files Browse the repository at this point in the history
Signed-off-by: Monis Khan <mkhan@redhat.com>
  • Loading branch information
enj committed Jun 30, 2017
1 parent eb49dcd commit 7dbfc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/etcd_storage_path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ func testEtcdStoragePath(t *testing.T, etcdServer *etcdtest.EtcdTestServer, gett
defer func() {
if !t.Failed() { // do not cleanup if test has already failed since we may need things in the etcd dump
if err := client.cleanup(all); err != nil {
t.Fatalf("failed to clean up etcd: %#v", err)
t.Errorf("failed to clean up etcd: %#v", err)
}
}
}()
Expand Down

0 comments on commit 7dbfc7f

Please sign in to comment.