Skip to content

Commit

Permalink
Skip some tests for older Hazelcast servers (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce authored Aug 22, 2023
1 parent bc944bb commit 6763af4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions atomic_long_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (

func TestAtomicLong(t *testing.T) {
skip.If(t, "enterprise")
skip.If(t, "hz < 5")
testCases := []struct {
name string
f func(t *testing.T)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (

"github.com/hazelcast/hazelcast-go-client"
"github.com/hazelcast/hazelcast-go-client/internal/it"
"github.com/hazelcast/hazelcast-go-client/internal/it/skip"
iserialization "github.com/hazelcast/hazelcast-go-client/internal/serialization"
"github.com/hazelcast/hazelcast-go-client/serialization"
)
Expand All @@ -48,6 +49,7 @@ func TestInternalSerializationMethods(t *testing.T) {
}

func defaultCompactSerializerTest(t *testing.T) {
skip.If(t, "hz < 5.1")
var sc serialization.Config
sc.Compact.SetSerializers(FooCompactSerializer{})
tcx := it.MapTestContext{
Expand Down

0 comments on commit 6763af4

Please sign in to comment.