Skip to content

Commit 81e3b47

Browse files
authored
test: Cleanup restored PVC in the volume restore e2e test (#3556)
* Cleanup restored PVC in the volume restore e2e test * Increase snapshot test timeout as snapshot creation can take longer sometimes
1 parent 39e08c1 commit 81e3b47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/snapshot/snapshot.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ var _ = Describe("snapshot and restore", Ordered, func() {
611611
})
612612

613613
AfterAll(func(ctx context.Context) {
614+
deletePVC(ctx, f, controllerTestNamespaceName, pvcToRestoreName)
614615
cleanUpTestResources(ctx, true, controllerTestNamespaceName)
615616
})
616617
})
@@ -733,7 +734,7 @@ var _ = Describe("snapshot and restore", Ordered, func() {
733734
}
734735
}).WithContext(ctx).
735736
WithPolling(framework.PollInterval).
736-
WithTimeout(framework.PollTimeoutLong).
737+
WithTimeout(5 * time.Minute).
737738
Should(Succeed())
738739
})
739740

0 commit comments

Comments
 (0)