Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to run with specific Simulacron cluster version
Browse files Browse the repository at this point in the history
lukasz-antoniak committed Jun 18, 2024
1 parent 9de161b commit f60bd28
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions integration-tests/connect_test.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@ import (
"github.com/datastax/go-cassandra-native-protocol/message"
"github.com/datastax/go-cassandra-native-protocol/primitive"
"github.com/datastax/zdm-proxy/integration-tests/client"
"github.com/datastax/zdm-proxy/integration-tests/env"
"github.com/datastax/zdm-proxy/integration-tests/setup"
"github.com/datastax/zdm-proxy/integration-tests/simulacron"
"github.com/datastax/zdm-proxy/integration-tests/utils"
@@ -48,11 +47,6 @@ func TestGoCqlConnect(t *testing.T) {
}

func TestProtocolVersionNegotiation(t *testing.T) {
testCassandraVersion := env.CassandraVersion
env.CassandraVersion = "2.1" // downgrade C* version for protocol negotiation test
defer func() {
env.CassandraVersion = testCassandraVersion
}()
c := setup.NewTestConfig("", "")
c.ControlConnMaxProtocolVersion = 4 // configure unsupported protocol version
testSetup, err := setup.NewSimulacronTestSetupWithSessionAndNodesAndConfig(t, true, false, 1, c, &simulacron.ClusterVersion{"2.1", "2.1"})

0 comments on commit f60bd28

Please sign in to comment.