From 8ea0432b1f3250cd56fbf4fd6c022f6b8e3cd0c3 Mon Sep 17 00:00:00 2001 From: naisila Date: Tue, 14 Nov 2023 12:10:57 +0300 Subject: [PATCH] Fix vanilla test --- src/test/regress/pg_regress_multi.pl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/regress/pg_regress_multi.pl b/src/test/regress/pg_regress_multi.pl index 804cff205..fbadcfc62 100755 --- a/src/test/regress/pg_regress_multi.pl +++ b/src/test/regress/pg_regress_multi.pl @@ -492,9 +492,6 @@ push(@pgOptions, "citus.enable_change_data_capture=on"); 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'"); @@ -513,6 +510,12 @@ if($vanillatest) # 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) {