From bdbe6f0a202d9ebd7583bf49e59cff995f5f82ed Mon Sep 17 00:00:00 2001 From: drivebyer Date: Tue, 14 Nov 2023 23:11:58 +0800 Subject: [PATCH] fix unit test Signed-off-by: drivebyer --- k8sutils/finalizers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8sutils/finalizers_test.go b/k8sutils/finalizers_test.go index ad67c0247..f99a021df 100644 --- a/k8sutils/finalizers_test.go +++ b/k8sutils/finalizers_test.go @@ -297,7 +297,7 @@ func helperRedisClusterPVCs(clusterName string, namespace string) []*corev1.Pers roles := []string{"leader", "follower"} for _, role := range roles { for i := 0; i < 3; i++ { - clusterPVCName := fmt.Sprintf("%s-%s-%s-%d", clusterName, clusterName, role, i) + clusterPVCName := fmt.Sprintf("%s-%s-%s-%s-%d", clusterName, role, clusterName, role, i) clusterPVC := &corev1.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{ Name: clusterPVCName,