Skip to content

Commit

Permalink
fix flaky test result
Browse files Browse the repository at this point in the history
  • Loading branch information
aykut-bozkurt committed Aug 31, 2023
1 parent 90c6bbb commit 50715c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/test/regress/expected/multi_schema_support.out
Original file line number Diff line number Diff line change
Expand Up @@ -1658,12 +1658,12 @@ SELECT create_schema_test();

(1 row)

SELECT run_command_on_all_nodes($$ SELECT COUNT(*) = 1 FROM pg_dist_partition WHERE logicalrelid = 'test_1.test'::regclass $$);
run_command_on_all_nodes
SELECT result FROM run_command_on_all_nodes($$ SELECT COUNT(*) = 1 FROM pg_dist_partition WHERE logicalrelid = 'test_1.test'::regclass $$);
result
---------------------------------------------------------------------
(16,t,t)
(17,t,t)
(19,t,t)
t
t
t
(3 rows)

DROP FUNCTION create_schema_test;
Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/sql/multi_schema_support.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ BEGIN
END;
$$ LANGUAGE plpgsql;
SELECT create_schema_test();
SELECT run_command_on_all_nodes($$ SELECT COUNT(*) = 1 FROM pg_dist_partition WHERE logicalrelid = 'test_1.test'::regclass $$);
SELECT result FROM run_command_on_all_nodes($$ SELECT COUNT(*) = 1 FROM pg_dist_partition WHERE logicalrelid = 'test_1.test'::regclass $$);
DROP FUNCTION create_schema_test;
DROP SCHEMA test_1 CASCADE;

Expand Down

0 comments on commit 50715c2

Please sign in to comment.