From c431ab390ba12bb2d2ba33d4b086a3c5b43f45ec Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 18 Dec 2022 13:43:20 +0000 Subject: [PATCH] test: fix golint fix --- pkg/smb/controllerserver_test.go | 4 ++-- test/e2e/testsuites/testsuites.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/smb/controllerserver_test.go b/pkg/smb/controllerserver_test.go index f7c76ca9d46..46b1576955c 100644 --- a/pkg/smb/controllerserver_test.go +++ b/pkg/smb/controllerserver_test.go @@ -194,7 +194,7 @@ func TestCreateVolume(t *testing.T) { // separate assertion for flaky error messages if test.flakyWindowsErrorMessage != "" && runtime.GOOS == "windows" { - fmt.Println("Skipping checks on Windows ENV") + fmt.Println("Skipping checks on Windows ENV") // nolint } else { if !test.expectErr && err != nil { t.Errorf("test %q failed: %v", test.name, err) @@ -270,7 +270,7 @@ func TestDeleteVolume(t *testing.T) { // Verify if runtime.GOOS == "windows" { // skip checks - fmt.Println("Skipping checks on Windows ENV") + fmt.Println("Skipping checks on Windows ENV") // nolint } else { if test.expectedErr == nil && err != nil { t.Errorf("test %q failed: %v", test.desc, err) diff --git a/test/e2e/testsuites/testsuites.go b/test/e2e/testsuites/testsuites.go index 0162a7a99e4..35e3bddb92c 100644 --- a/test/e2e/testsuites/testsuites.go +++ b/test/e2e/testsuites/testsuites.go @@ -59,7 +59,6 @@ const ( failedConditionDescription = "Error status code" poll = 2 * time.Second pollLongTimeout = 5 * time.Minute - pollTimeout = 10 * time.Minute pollForStringTimeout = 1 * time.Minute )