From 5b5a751bea1180d5229e380b1582fea78304b2d3 Mon Sep 17 00:00:00 2001 From: Amim Knabben Date: Sun, 7 Apr 2024 14:58:12 -0300 Subject: [PATCH] Passing without CNI tests, check the spec path --- pkg/pwsh/setup/setup_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkg/pwsh/setup/setup_test.go b/pkg/pwsh/setup/setup_test.go index 8c1910e..45a70bb 100644 --- a/pkg/pwsh/setup/setup_test.go +++ b/pkg/pwsh/setup/setup_test.go @@ -194,15 +194,3 @@ func TestJoinNodeRunner(t *testing.T) { err = r.JoinNode("v1.29.0", "192.168.0.1") assert.Nil(t, err) } - -func TestInstallCNI(t *testing.T) { - _ = func(cmd string) (string, error) { - return "", nil - } - port += 1 - responses := []tests.Response{} - r, err := startRunner(&responses) - assert.Nil(t, err) - err = r.InstallCNI("v3.27.3", "192.168.0.1") - assert.Nil(t, err) -}