diff --git a/base/util_testing.go b/base/util_testing.go index 740f012370..cc82f05e95 100644 --- a/base/util_testing.go +++ b/base/util_testing.go @@ -275,8 +275,8 @@ func TestsDisableGSI() bool { return true } - // Default to disabling GSI, but allow with SG_TEST_USE_GSI=true - useGSI := false + // Default to enable GSI, but disable with SG_TEST_USE_GSI=false + useGSI := true if envUseGSI := os.Getenv(TestEnvSyncGatewayDisableGSI); envUseGSI != "" { useGSI, _ = strconv.ParseBool(envUseGSI) }