Skip to content

Commit 1853330

Browse files
committed
trying to fix the weird test
1 parent e6aaaf6 commit 1853330

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cluster-autoscaler/cloudprovider/oci/nodepools/oci_manager_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
apiv1 "k8s.io/api/core/v1"
1616
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider"
1717
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/vendor-internal/github.com/oracle/oci-go-sdk/v65/common"
18-
klog "k8s.io/klog/v2"
1918
kubeletapis "k8s.io/kubelet/pkg/apis"
2019

2120
ocicommon "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/common"
@@ -450,8 +449,8 @@ func TestNodeGroupAutoDiscovery(t *testing.T) {
450449

451450
cloudConfig, err := ocicommon.CreateCloudConfig("", common.DefaultConfigProvider(), npconsts.OciNodePoolResourceIdent)
452451
if cloudConfig == nil || err != nil {
453-
klog.Infof("Error: cloudConfig is nil. %s", err)
454-
//t.Errorf("Error: cloudConfig is nil. %s", err)
452+
//klog.Infof("Error: cloudConfig is nil. %s", err)
453+
t.Errorf("Error: cloudConfig is nil. %s", err)
455454
}
456455
manager := &ociManagerImpl{
457456
nodePoolCache: nodePoolCache,

0 commit comments

Comments
 (0)