1 step 'Extraction'
diff --git a/acceptance/openstack/blockstorage/v1/snapshots_test.go b/acceptance/openstack/blockstorage/v1/snapshots_test.go
index 5038c8e..a792cf2 100644
--- a/acceptance/openstack/blockstorage/v1/snapshots_test.go
+++ b/acceptance/openstack/blockstorage/v1/snapshots_test.go
@@ -24,7 +24,7 @@
if gv.Status == "available" {
return nil
}
- time.Sleep(1 * time.Millisecond)
+ time.Sleep(1 * time.Second)
secondsSlept = secondsSlept + 1
}
@@ -51,6 +51,13 @@
if err != nil {
t.Fatal(err)
}
+ defer func() {
+ err = volumes.Delete(client, cv.ID)
+ if err != nil {
+ t.Error(err)
+ return
+ }
+ }()
var sss []*snapshots.Snapshot
for i := 0; i < numSnapshots; i++ {
@@ -63,6 +70,6 @@
}
sss = append(sss, css)
}
-
t.Logf("Created snapshots: %+v\n", sss)
+
}