start both coordinators in pg_regress with is_main=false
authorTomas Vondra <[email protected]>
Sat, 28 Jan 2017 12:55:11 +0000 (13:55 +0100)
committerTomas Vondra <[email protected]>
Sat, 28 Jan 2017 16:13:30 +0000 (17:13 +0100)
The only difference seems to be that with is_main=false pg_regress
does not override list_addresses=*, which makes debugging of running
regression tests (e.g. when the tests get stuck) easier.

src/test/regress/pg_regress.c

index 685dc468d2635e7125f6c5891d4d10585895e5b7..8e190bc73b73c047671febb727152f4c5398e370 100644 (file)
@@ -3189,7 +3189,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
                start_node(PGXC_GTM, false, false);
 
                /* Start all the nodes */
-               start_node(PGXC_COORD_1, true, true);
+               start_node(PGXC_COORD_1, true, false);
                start_node(PGXC_COORD_2, true, false);
                start_node(PGXC_DATANODE_1, false, false);
                start_node(PGXC_DATANODE_2, false, false);