Skip to content

Commit d891934

Browse files
authored
Merge pull request kubernetes#128248 from torredil/fix-e2e-cos-gce-serial-canary
Update context in cleanup func for e2e test
2 parents 9d967ff + 501ec35 commit d891934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/storage/pvc_storageclass.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var _ = utils.SIGDescribe("Retroactive StorageClass Assignment", func() {
7373

7474
// Create a PVC with nil StorageClass
7575
pvc := createPVC(ctx, client, namespace)
76-
ginkgo.DeferCleanup(func(cleanupContext context.Context) {
76+
ginkgo.DeferCleanup(func(ctx context.Context) {
7777
err := client.CoreV1().PersistentVolumeClaims(namespace).Delete(ctx, pvc.Name, *metav1.NewDeleteOptions(0))
7878
framework.ExpectNoError(err, "Error deleting PVC")
7979
})

0 commit comments

Comments
 (0)