Skip to content

Commit

Permalink
Fix vanilla test
Browse files Browse the repository at this point in the history
  • Loading branch information
naisila committed Nov 14, 2023
1 parent 5ebaa80 commit a6eb324
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/test/regress/pg_regress_multi.pl
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,6 @@ sub generate_hba
push(@pgOptions, "citus.stat_tenants_limit = 2");
push(@pgOptions, "citus.stat_tenants_track = 'ALL'");

# We currently need this config for isolation tests and security label tests
push(@pgOptions, "citus.running_under_citus_test_suite=true");

# Some tests look at shards in pg_class, make sure we can usually see them:
push(@pgOptions, "citus.show_shards_for_app_name_prefixes='pg_regress'");

Expand All @@ -513,6 +510,12 @@ sub generate_hba
# we disable some restrictions for local objects like local views to not break postgres vanilla test behaviour.
push(@pgOptions, "citus.enforce_object_restrictions_for_local_objects=false");
}
else
{
# We currently need this config for isolation tests and security label tests
# this option loads a security label provider, which we don't want in vanilla tests
push(@pgOptions, "citus.running_under_citus_test_suite=true");
}

if ($useMitmproxy)
{
Expand Down

0 comments on commit a6eb324

Please sign in to comment.