mirror of https://github.com/citusdata/citus.git
drop isolation test table
parent
6d668d527a
commit
20634e171e
|
@ -92,7 +92,6 @@ test: isolation_replicated_dist_on_mx
|
||||||
|
|
||||||
# MXless tests
|
# MXless tests
|
||||||
test: isolation_check_mx
|
test: isolation_check_mx
|
||||||
test: isolation_turn_mx_off
|
|
||||||
test: isolation_replicate_reference_tables_to_coordinator
|
test: isolation_replicate_reference_tables_to_coordinator
|
||||||
test: isolation_reference_copy_vs_all
|
test: isolation_reference_copy_vs_all
|
||||||
test: isolation_ref2ref_foreign_keys
|
test: isolation_ref2ref_foreign_keys
|
||||||
|
|
|
@ -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;
|
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"
|
session "s2"
|
||||||
|
|
||||||
step "s2-begin"
|
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
|
// now show that distributed transaction id on the coordinator
|
||||||
// is the same with the one on the worker
|
// 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
|
// 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"
|
permutation "s1-begin" "s1-assign-transaction-id" "s1-has-transaction-number" "s2-vacuum" "s1-has-transaction-number" "s1-commit"
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
setup
|
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.replace_isolation_tester_func();
|
||||||
SELECT citus_internal.refresh_isolation_tester_prepared_statement();
|
SELECT citus_internal.refresh_isolation_tester_prepared_statement();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue