From d54e42aabfcb75ab2f2dea7674d5af533246dcd1 Mon Sep 17 00:00:00 2001 From: Simon Croome Date: Thu, 14 Jan 2021 12:54:27 +0000 Subject: [PATCH] Fix e2e test --- test/e2e/clusterCSINodeV2_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/clusterCSINodeV2_test.go b/test/e2e/clusterCSINodeV2_test.go index f206d743..37b5aa92 100644 --- a/test/e2e/clusterCSINodeV2_test.go +++ b/test/e2e/clusterCSINodeV2_test.go @@ -78,8 +78,8 @@ func TestClusterCSINodeV2(t *testing.T) { t.Fatalf("failed to get storageos-daemonset: %v", err) } + //Check the number of containers in daemonset pod spec. t.Run("CSIHelperCountTest", func(t *testing.T) { - //Check the number of containers in daemonset pod spec. if len(daemonset.Spec.Template.Spec.Containers) != 3 { t.Errorf("unexpected number of daemonset pod containers:\n\t(GOT) %d\n\t(WNT) %d", len(daemonset.Spec.Template.Spec.Containers), 3) }