drop isolation test table

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-17 18:11:49 +03:00
parent 6d668d527a
commit 20634e171e
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
3 changed files with 6 additions and 5 deletions

View File

@ -92,7 +92,6 @@ 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
test: isolation_ref2ref_foreign_keys

View File

@ -64,6 +64,11 @@ step "s1-get-all-transactions"
SELECT initiator_node_identifier, transaction_number, transaction_stamp FROM get_current_transaction_id() ORDER BY 1,2,3;
}
step "s1-drop-table"
{
DROP TABLE distributed_transaction_id_table;
}
session "s2"
step "s2-begin"
@ -119,7 +124,7 @@ permutation "s1-begin" "s1-assign-transaction-id" "s1-get-all-transactions" "s2-
// now show that distributed transaction id on the coordinator
// is the same with the one on the worker
permutation "s1-create-table" "s1-begin" "s1-insert" "s1-verify-current-xact-is-on-worker" "s1-commit"
permutation "s1-create-table" "s1-begin" "s1-insert" "s1-verify-current-xact-is-on-worker" "s1-commit" "s1-drop-table"
// we would initially forget the distributed transaction ID on pg_dist_partition invalidations
permutation "s1-begin" "s1-assign-transaction-id" "s1-has-transaction-number" "s2-vacuum" "s1-has-transaction-number" "s1-commit"

View File

@ -1,8 +1,5 @@
setup
{
SET citus.log_remote_commands to true;
SET citus.worker_min_messages to debug4;
set client_min_messages to debug4;
SELECT citus_internal.replace_isolation_tester_func();
SELECT citus_internal.refresh_isolation_tester_prepared_statement();