Skip to content

Commit 7a289ff

Browse files
committed
wip
1 parent a225601 commit 7a289ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

e2e/tests/smoke_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ func checkPodsRunningAndReady(ctx context.Context, podLabelKey, podLabelValue st
147147
}
148148

149149
func deleteStorageSafely(ctx context.Context, storageSample *v1alpha1.Storage) {
150-
Expect(k8sClient.Delete(ctx, storageSample)).Should(Succeed())
150+
// not checking that deletion completed successfully
151+
// because some tests delete storage themselves and
152+
// it may already be deleted.
153+
_ = k8sClient.Delete(ctx, storageSample)
151154

152155
Eventually(func() bool {
153156
fetched := v1alpha1.Storage{}

0 commit comments

Comments
 (0)