diff --git a/go/Makefile b/go/Makefile index b15d198771..e240900696 100644 --- a/go/Makefile +++ b/go/Makefile @@ -14,7 +14,7 @@ install-dev-tools-go1.22: go install github.com/vakenbolt/go-test-report@v0.9.3 go install mvdan.cc/gofumpt@v0.6.0 go install github.com/segmentio/golines@v0.12.2 - go install honnef.co/go/tools/cmd/staticcheck@v0.4.6 + go install honnef.co/go/tools/cmd/staticcheck@latest install-dev-tools-go1.22.0: install-dev-tools-go1.22 diff --git a/go/integTest/glide_test_suite_test.go b/go/integTest/glide_test_suite_test.go index ddfe99787b..fd4e0d92d5 100644 --- a/go/integTest/glide_test_suite_test.go +++ b/go/integTest/glide_test_suite_test.go @@ -96,7 +96,7 @@ func runClusterManager(suite *GlideTestSuite, args []string, ignoreExitCode bool suite.T().Fatalf("Unexpected error while executing cluster_manager.py: %s", err.Error()) } - if exitError.Stderr != nil && len(exitError.Stderr) > 0 { + if len(exitError.Stderr) > 0 { suite.T().Logf("cluster_manager.py stderr:\n====\n%s\n====\n", string(exitError.Stderr)) } diff --git a/go/integTest/shared_commands_test.go b/go/integTest/shared_commands_test.go index d661530db3..68d1620bce 100644 --- a/go/integTest/shared_commands_test.go +++ b/go/integTest/shared_commands_test.go @@ -534,6 +534,8 @@ func (suite *GlideTestSuite) TestAppend_existingAndNonExistingKeys() { } func (suite *GlideTestSuite) TestLCS_existingAndNonExistingKeys() { + suite.SkipIfServerVersionLowerThanBy("7.0.0") + suite.runWithDefaultClients(func(client api.BaseClient) { key1 := "{key}" + uuid.New().String() key2 := "{key}" + uuid.New().String() @@ -1599,6 +1601,8 @@ func (suite *GlideTestSuite) TestSInterCard() { } func (suite *GlideTestSuite) TestSInterCardLimit() { + suite.SkipIfServerVersionLowerThanBy("7.0.0") + suite.runWithDefaultClients(func(client api.BaseClient) { key1 := "{key}-1-" + uuid.NewString() key2 := "{key}-2-" + uuid.NewString()