diff --git a/src/test/regress/pg_regress_multi.pl b/src/test/regress/pg_regress_multi.pl index 32db65a5c..392405bce 100755 --- a/src/test/regress/pg_regress_multi.pl +++ b/src/test/regress/pg_regress_multi.pl @@ -550,13 +550,21 @@ if($isolationtester) { push(@pgOptions, "citus.worker_min_messages='warning'"); push(@pgOptions, "citus.log_distributed_deadlock_detection=on"); - push(@pgOptions, "citus.distributed_deadlock_detection_factor=-1"); push(@pgOptions, "citus.shard_count=4"); push(@pgOptions, "citus.metadata_sync_interval=1000"); push(@pgOptions, "citus.metadata_sync_retry_interval=100"); push(@pgOptions, "client_min_messages='warning'"); # pg12 introduced notice showing during isolation tests push(@pgOptions, "citus.running_under_isolation_test=true"); + # Disable all features of the maintenance daemon. Otherwise queries might + # randomly show temporarily as "waiting..." because they are waiting for the + # maintenance daemon. + push(@pgOptions, "citus.distributed_deadlock_detection_factor=-1"); + push(@pgOptions, "citus.recover_2pc_interval=-1"); + push(@pgOptions, "citus.enable_statistics_collection=-1"); + push(@pgOptions, "citus.defer_shard_delete_interval=-1"); + push(@pgOptions, "citus.stat_statements_purge_interval=-1"); + push(@pgOptions, "citus.background_task_queue_interval=-1"); } # Add externally added options last, so they overwrite the default ones above