Fix the race between PVC finalizer and snapshot finalizer removal
This commit is contained in:
@@ -1147,7 +1147,7 @@ func testAddPVCFinalizer(ctrl *csiSnapshotCommonController, reactor *snapshotRea
|
||||
}
|
||||
|
||||
func testRemovePVCFinalizer(ctrl *csiSnapshotCommonController, reactor *snapshotReactor, test controllerTest) error {
|
||||
return ctrl.checkandRemovePVCFinalizer(test.initialSnapshots[0])
|
||||
return ctrl.checkandRemovePVCFinalizer(test.initialSnapshots[0], false)
|
||||
}
|
||||
|
||||
func testAddSnapshotFinalizer(ctrl *csiSnapshotCommonController, reactor *snapshotReactor, test controllerTest) error {
|
||||
|
Reference in New Issue
Block a user