From 565d702609a5c643ecc3f66eaef08e276418d5e3 Mon Sep 17 00:00:00 2001 From: Nils Dijk Date: Tue, 13 Dec 2022 14:43:49 +0100 Subject: [PATCH] fix failure test output --- .../expected/failure_create_distributed_table_concurrently.out | 2 +- .../sql/failure_create_distributed_table_concurrently.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/failure_create_distributed_table_concurrently.out b/src/test/regress/expected/failure_create_distributed_table_concurrently.out index bd3382256..13ea09b4a 100644 --- a/src/test/regress/expected/failure_create_distributed_table_concurrently.out +++ b/src/test/regress/expected/failure_create_distributed_table_concurrently.out @@ -186,7 +186,7 @@ SELECT create_distributed_table_concurrently('table_1', 'id'); (1 row) -SELECT * FROM pg_dist_shard WHERE logicalrelid = 'table_1'::regclass; +SELECT logicalrelid, shardid, shardstorage, shardminvalue, shardmaxvalue FROM pg_dist_shard WHERE logicalrelid = 'table_1'::regclass; logicalrelid | shardid | shardstorage | shardminvalue | shardmaxvalue --------------------------------------------------------------------- table_1 | 1880080 | t | -2147483648 | -1 diff --git a/src/test/regress/sql/failure_create_distributed_table_concurrently.sql b/src/test/regress/sql/failure_create_distributed_table_concurrently.sql index 502c3940a..5c584c319 100644 --- a/src/test/regress/sql/failure_create_distributed_table_concurrently.sql +++ b/src/test/regress/sql/failure_create_distributed_table_concurrently.sql @@ -103,7 +103,7 @@ SELECT citus.mitmproxy('conn.allow()'); -- Verify that the table can be distributed concurrently after unsuccessful attempts SELECT create_distributed_table_concurrently('table_1', 'id'); -SELECT * FROM pg_dist_shard WHERE logicalrelid = 'table_1'::regclass; +SELECT logicalrelid, shardid, shardstorage, shardminvalue, shardmaxvalue FROM pg_dist_shard WHERE logicalrelid = 'table_1'::regclass; DROP SCHEMA create_dist_tbl_con CASCADE; SET search_path TO default;