mirror of https://github.com/citusdata/citus.git
Support running isolation_update_node in flaky test detection (#7425)
I noticed in #7423 that `isolation_update_node` could not be run using flaky test detection. This fixes that.pull/7386/head^2
parent
6cf6cf37fd
commit
fcfedff8d1
|
@ -153,6 +153,9 @@ DEPS = {
|
||||||
"isolation_extension_commands": TestDeps(
|
"isolation_extension_commands": TestDeps(
|
||||||
None, ["isolation_setup", "isolation_add_remove_node"]
|
None, ["isolation_setup", "isolation_add_remove_node"]
|
||||||
),
|
),
|
||||||
|
"isolation_update_node": TestDeps(
|
||||||
|
None, ["isolation_setup", "isolation_add_remove_node"]
|
||||||
|
),
|
||||||
"schema_based_sharding": TestDeps("minimal_schedule"),
|
"schema_based_sharding": TestDeps("minimal_schedule"),
|
||||||
"multi_sequence_default": TestDeps(
|
"multi_sequence_default": TestDeps(
|
||||||
None, ["multi_test_helpers", "multi_cluster_management", "multi_table_ddl"]
|
None, ["multi_test_helpers", "multi_cluster_management", "multi_table_ddl"]
|
||||||
|
|
|
@ -93,8 +93,8 @@ nodeid|nodename|nodeport
|
||||||
starting permutation: s1-begin s1-update-node-1 s2-begin s2-update-node-1 s1-commit s2-abort s1-show-nodes s3-update-node-1-back s3-manually-fix-metadata
|
starting permutation: s1-begin s1-update-node-1 s2-begin s2-update-node-1 s1-commit s2-abort s1-show-nodes s3-update-node-1-back s3-manually-fix-metadata
|
||||||
nodeid|nodename |nodeport
|
nodeid|nodename |nodeport
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
25|localhost| 57638
|
23|localhost| 57638
|
||||||
24|localhost| 57637
|
22|localhost| 57637
|
||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
step s1-begin:
|
step s1-begin:
|
||||||
|
@ -139,8 +139,8 @@ step s1-show-nodes:
|
||||||
|
|
||||||
nodeid|nodename |nodeport|isactive
|
nodeid|nodename |nodeport|isactive
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
25|localhost| 57638|t
|
23|localhost| 57638|t
|
||||||
24|localhost| 58637|t
|
22|localhost| 58637|t
|
||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
step s3-update-node-1-back:
|
step s3-update-node-1-back:
|
||||||
|
@ -178,8 +178,8 @@ nodeid|nodename|nodeport
|
||||||
starting permutation: s2-create-table s1-begin s1-update-node-nonexistent s1-prepare-transaction s2-cache-prepared-statement s1-commit-prepared s2-execute-prepared s1-update-node-existent s3-manually-fix-metadata
|
starting permutation: s2-create-table s1-begin s1-update-node-nonexistent s1-prepare-transaction s2-cache-prepared-statement s1-commit-prepared s2-execute-prepared s1-update-node-existent s3-manually-fix-metadata
|
||||||
nodeid|nodename |nodeport
|
nodeid|nodename |nodeport
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
27|localhost| 57638
|
23|localhost| 57638
|
||||||
26|localhost| 57637
|
22|localhost| 57637
|
||||||
(2 rows)
|
(2 rows)
|
||||||
|
|
||||||
step s2-create-table:
|
step s2-create-table:
|
||||||
|
|
|
@ -3,6 +3,8 @@ setup
|
||||||
-- revert back to pg_isolation_test_session_is_blocked until the tests are fixed
|
-- revert back to pg_isolation_test_session_is_blocked until the tests are fixed
|
||||||
SELECT citus_internal.restore_isolation_tester_func();
|
SELECT citus_internal.restore_isolation_tester_func();
|
||||||
|
|
||||||
|
ALTER SEQUENCE pg_dist_node_nodeid_seq RESTART 22;
|
||||||
|
|
||||||
SELECT 1 FROM master_add_node('localhost', 57637);
|
SELECT 1 FROM master_add_node('localhost', 57637);
|
||||||
SELECT 1 FROM master_add_node('localhost', 57638);
|
SELECT 1 FROM master_add_node('localhost', 57638);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue