From 6dbaa5660ea62c6b0634dbf20794550e0f5f5756 Mon Sep 17 00:00:00 2001 From: YamasouA Date: Wed, 2 Oct 2024 22:50:39 +0900 Subject: [PATCH] fix test --- .../framework/plugins/volumebinding/volume_binding_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,