diff --git a/pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go b/pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go index e5d167dd08a..1f115b52a82 100644 --- a/pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go +++ b/pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go @@ -1418,7 +1418,7 @@ func TestIsSchedulableAfterCSIDriverChange(t *testing.T) { Name: "test2", }, Spec: storagev1.CSIDriverSpec{ - StorageCapacity: ptr.To(true), + StorageCapacity: ptr.To(false), }, }, oldObj: &storagev1.CSIDriver{ @@ -1426,7 +1426,7 @@ func TestIsSchedulableAfterCSIDriverChange(t *testing.T) { Name: "test2", }, Spec: storagev1.CSIDriverSpec{ - StorageCapacity: ptr.To(false), + StorageCapacity: ptr.To(true), }, }, err: false,