From d3b51879397a237ba83a7cd07a4a916f42a7e9ef Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Fri, 8 Dec 2023 20:12:03 +0530 Subject: [PATCH] fix: fix unit test Signed-off-by: Niladri Halder --- pkg/migrate/cstor/cstorvolumepolicy_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/migrate/cstor/cstorvolumepolicy_test.go b/pkg/migrate/cstor/cstorvolumepolicy_test.go index eeb6a2d2..2d0da60d 100644 --- a/pkg/migrate/cstor/cstorvolumepolicy_test.go +++ b/pkg/migrate/cstor/cstorvolumepolicy_test.go @@ -152,13 +152,13 @@ func TestVolumeMigrator_createCVPforConfig(t *testing.T) { Key: "key1", Operator: v1.TolerationOpEqual, Value: "value1", - Effect: v1.TaintEffectNoSchedule, + Effect: v1.TaintEffectNoExecute, }, { Key: "key1", Operator: v1.TolerationOpEqual, Value: "value1", - Effect: v1.TaintEffectNoExecute, + Effect: v1.TaintEffectNoSchedule, }, }, NodeSelector: map[string]string{