mirror of https://github.com/citusdata/citus.git
Address reviews
parent
95cc99f423
commit
9f39efa231
|
@ -184,7 +184,7 @@ DEPS = {
|
|||
"multi_tenant_isolation_nonblocking": TestDeps(
|
||||
"minimal_schedule", ["multi_data_types", "remove_coordinator_from_metadata"]
|
||||
),
|
||||
"remove_cluster_management_nodes": TestDeps(
|
||||
"remove_non_default_nodes": TestDeps(
|
||||
None, ["multi_mx_node_metadata", "multi_cluster_management"], repeatable=False
|
||||
),
|
||||
"citus_split_shard_columnar_partitioned": TestDeps(
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
-- When needed in some tests, GetLocalNodeId() does not behave correctly.
|
||||
SELECT citus_remove_node('localhost', 8887);
|
||||
citus_remove_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
SELECT citus_remove_node('localhost', 9995);
|
||||
citus_remove_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
SELECT citus_remove_node('localhost', 9992);
|
||||
citus_remove_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
SELECT citus_remove_node('localhost', 9998);
|
||||
citus_remove_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
SELECT citus_remove_node('localhost', 9997);
|
||||
citus_remove_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
SELECT citus_remove_node('localhost', 8888);
|
||||
citus_remove_node
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
-- The default nodes for the citus test suite are coordinator and 2 worker nodes
|
||||
-- Which we identify with master_port, worker_1_port, worker_2_port.
|
||||
-- When needed in some tests, GetLocalNodeId() does not behave correctly,
|
||||
-- So we remove the non default nodes. This tests expects the non default nodes
|
||||
-- to not have any active placements.
|
||||
SELECT any_value(citus_remove_node('localhost', nodeport))
|
||||
FROM pg_dist_node
|
||||
WHERE nodeport NOT IN (:master_port, :worker_1_port, :worker_2_port);
|
||||
any_value
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
|
@ -10,7 +10,7 @@ test: foreign_key_to_reference_table
|
|||
# Split tests go here.
|
||||
test: split_shard
|
||||
test: worker_split_copy_test
|
||||
test: remove_cluster_management_nodes
|
||||
test: remove_non_default_nodes
|
||||
test: worker_split_binary_copy_test
|
||||
test: worker_split_text_copy_test
|
||||
test: citus_split_shard_by_split_points_negative
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
-- When needed in some tests, GetLocalNodeId() does not behave correctly.
|
||||
SELECT citus_remove_node('localhost', 8887);
|
||||
SELECT citus_remove_node('localhost', 9995);
|
||||
SELECT citus_remove_node('localhost', 9992);
|
||||
SELECT citus_remove_node('localhost', 9998);
|
||||
SELECT citus_remove_node('localhost', 9997);
|
||||
SELECT citus_remove_node('localhost', 8888);
|
|
@ -0,0 +1,8 @@
|
|||
-- The default nodes for the citus test suite are coordinator and 2 worker nodes
|
||||
-- Which we identify with master_port, worker_1_port, worker_2_port.
|
||||
-- When needed in some tests, GetLocalNodeId() does not behave correctly,
|
||||
-- So we remove the non default nodes. This tests expects the non default nodes
|
||||
-- to not have any active placements.
|
||||
SELECT any_value(citus_remove_node('localhost', nodeport))
|
||||
FROM pg_dist_node
|
||||
WHERE nodeport NOT IN (:master_port, :worker_1_port, :worker_2_port);
|
Loading…
Reference in New Issue