Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ func skipNoEnterprise(t *testing.T) {
}
}

func skipResilientSingle(t *testing.T) {
if getTestMode() == testModeResilientSingle {
t.Skip("Disabled in active failover mode")
}
}

// skipVersionNotInRange skips the test if the current server version is less than
// the min version or higher/equal max version
func skipVersionNotInRange(c driver.Client, minVersion, maxVersion driver.Version, t *testing.T) driver.VersionInfo {
Expand Down Expand Up @@ -522,6 +528,7 @@ func TestClientConnectionReuse(t *testing.T) {
t.Skip("not possible with VST connections by design")
return
}
skipResilientSingle(t)

c := createClientFromEnv(t, true)
ctx := context.Background()
Expand Down