From d96b681c8380f13c5b1a9ace86daf02ab536bf36 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Sat, 27 Nov 2021 20:25:37 +0000 Subject: [PATCH] Fix node cli integration test --- integration_cli_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/integration_cli_test.go b/integration_cli_test.go index eb553220..81a19334 100644 --- a/integration_cli_test.go +++ b/integration_cli_test.go @@ -639,7 +639,7 @@ func (s *IntegrationCLITestSuite) TestNodeCommand() { "--name", fmt.Sprintf("shared-machine-%d", index+1), "--namespace", - namespace.Name, + sharedNamespace.Name, "--key", machineKey, "--output", @@ -720,7 +720,6 @@ func (s *IntegrationCLITestSuite) TestNodeCommand() { []string{}, ) assert.Nil(s.T(), err) - fmt.Println("Error: ", err) var listOnlySharedMachineNamespace []v1.Machine err = json.Unmarshal( @@ -729,8 +728,6 @@ func (s *IntegrationCLITestSuite) TestNodeCommand() { ) assert.Nil(s.T(), err) - fmt.Println("List: ", listOnlySharedMachineNamespaceResult) - fmt.Println("List2: ", listOnlySharedMachineNamespace) assert.Len(s.T(), listOnlySharedMachineNamespace, 2) assert.Equal(s.T(), uint64(6), listOnlySharedMachineNamespace[0].Id)