Merge pull request #5587 from citusdata/add_isolation_check_mx

Add isolation_check_mx test
pull/5589/head
Halil Ozan Akgül 2021-12-30 15:31:58 +03:00 committed by GitHub
commit 9cccaa11d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Parsed test spec with 1 sessions
starting permutation: check_mx
step check_mx:
SHOW citus.enable_metadata_sync_by_default;
SELECT bool_and(metadatasynced) FROM pg_dist_node WHERE noderole = 'primary';
citus.enable_metadata_sync_by_default
---------------------------------------------------------------------
on
(1 row)
bool_and
---------------------------------------------------------------------
t
(1 row)

View File

@ -91,6 +91,7 @@ test: isolation_metadata_sync_deadlock
test: isolation_replicated_dist_on_mx
# MXless tests
test: isolation_check_mx
test: isolation_turn_mx_off
test: isolation_replicate_reference_tables_to_coordinator
test: isolation_reference_copy_vs_all

View File

@ -0,0 +1,10 @@
session "s1"
step "check_mx"
{
SHOW citus.enable_metadata_sync_by_default;
SELECT bool_and(metadatasynced) FROM pg_dist_node WHERE noderole = 'primary';
}
permutation "check_mx"