Skip to content

Commit

Permalink
test: fix golint
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
andyzhangx committed Dec 18, 2022
1 parent 0f65025 commit c431ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/smb/controllerserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion test/e2e/testsuites/testsuites.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit c431ab3

Please sign in to comment.