From d723b6625b0f9389cc75249e34d47deb8dc5820b Mon Sep 17 00:00:00 2001 From: w3aman Date: Thu, 7 Nov 2024 11:40:53 +0530 Subject: [PATCH] fix Signed-off-by: w3aman --- common/k8stest/util_node.go | 2 -- .../lvm_custom_node_topology_test.go | 5 ----- 2 files changed, 7 deletions(-) diff --git a/common/k8stest/util_node.go b/common/k8stest/util_node.go index a04f1c23..eed27883 100644 --- a/common/k8stest/util_node.go +++ b/common/k8stest/util_node.go @@ -478,8 +478,6 @@ func GetCsiNodeDriverTopologyKeys(nodeName string, driverName string) ([]string, func CheckCsiNodeTopologyKeysPresent(nodeName string, driverName string, key []string) (bool, error) { topologyKey, err := GetCsiNodeDriverTopologyKeys(nodeName, driverName) - fmt.Println("##############################") - fmt.Println(topologyKey) if err != nil { return false, err } diff --git a/src/tests/lvm/lvm_custom_node_topology/lvm_custom_node_topology_test.go b/src/tests/lvm/lvm_custom_node_topology/lvm_custom_node_topology_test.go index 1c2cef1e..88fcb739 100644 --- a/src/tests/lvm/lvm_custom_node_topology/lvm_custom_node_topology_test.go +++ b/src/tests/lvm/lvm_custom_node_topology/lvm_custom_node_topology_test.go @@ -246,7 +246,6 @@ func customTopologyWfcTest(decor string, engine common.OpenEbsEngine, volType co productConfig.LvmEngineComponentDsPodLabelValue) updatedEnvVarValue := fmt.Sprintf("kubernetes.io/hostname,%s", key) - fmt.Println(updatedEnvVarValue) // we have to set env in the daemonset yaml for lvm-local like this // kubectl set env daemonset/openebs-lvm-localpv-node -n openebs ALLOWED_TOPOLOGIES=kubernetes.io/hostname,key @@ -254,10 +253,6 @@ func customTopologyWfcTest(decor string, engine common.OpenEbsEngine, volType co _, err = k8stest.UpdateDemonsetContainerEnv(productConfig.LvmEngineDaemonSetName, productConfig.LvmEnginePluginContainerName, common.NSOpenEBS(), allowedTopologyEnvVarName, updatedEnvVarValue) Expect(err).To(BeNil(), "failed to update env values") - ds, err := k8stest.GetDaemonSet(productConfig.LvmEngineDaemonSetName, common.NSOpenEBS()) - Expect(err).To(BeNil()) - fmt.Println(ds) - // verify lvm daemonset to be ready Eventually(func() bool { return k8stest.DaemonSetReady(productConfig.LvmEngineDaemonSetName, common.NSOpenEBS())