diff --git a/src/test/regress/expected/isolation_citus_update_table_statistics.out b/src/test/regress/expected/isolation_citus_update_table_statistics.out deleted file mode 100644 index 043b607b3..000000000 --- a/src/test/regress/expected/isolation_citus_update_table_statistics.out +++ /dev/null @@ -1,106 +0,0 @@ -Parsed test spec with 2 sessions - -starting permutation: s1-begin s1-drop-table s2-citus-update-table-statistics s1-commit -create_distributed_table ---------------------------------------------------------------------- - -(1 row) - -step s1-begin: - BEGIN; - -step s1-drop-table: - DROP TABLE dist_table; - -step s2-citus-update-table-statistics: - SET client_min_messages TO NOTICE; - SELECT citus_update_table_statistics(logicalrelid) FROM pg_dist_partition; - -step s1-commit: - COMMIT; - -step s2-citus-update-table-statistics: <... completed> -s2: NOTICE: relation with OID XXXX does not exist, skipping -citus_update_table_statistics ---------------------------------------------------------------------- - - -(2 rows) - - -starting permutation: s1-begin s1-drop-table s2-citus-shards s1-commit -create_distributed_table ---------------------------------------------------------------------- - -(1 row) - -step s1-begin: - BEGIN; - -step s1-drop-table: - DROP TABLE dist_table; - -step s2-citus-shards: - SELECT 1 AS result FROM citus_shards GROUP BY result; - -step s1-commit: - COMMIT; - -step s2-citus-shards: <... completed> -result ---------------------------------------------------------------------- - 1 -(1 row) - - -starting permutation: s2-begin s2-citus-shards s1-drop-table s2-commit -create_distributed_table ---------------------------------------------------------------------- - -(1 row) - -step s2-begin: - BEGIN; - -step s2-citus-shards: - SELECT 1 AS result FROM citus_shards GROUP BY result; - -result ---------------------------------------------------------------------- - 1 -(1 row) - -step s1-drop-table: - DROP TABLE dist_table; - -step s2-commit: - COMMIT; - - -starting permutation: s2-begin s2-citus-update-table-statistics s1-drop-table s2-commit -create_distributed_table ---------------------------------------------------------------------- - -(1 row) - -step s2-begin: - BEGIN; - -step s2-citus-update-table-statistics: - SET client_min_messages TO NOTICE; - SELECT citus_update_table_statistics(logicalrelid) FROM pg_dist_partition; - -citus_update_table_statistics ---------------------------------------------------------------------- - - -(2 rows) - -step s1-drop-table: - DROP TABLE dist_table; - -step s2-commit: - COMMIT; - -step s1-drop-table: <... completed> -ERROR: tuple concurrently deleted diff --git a/src/test/regress/isolation_schedule b/src/test/regress/isolation_schedule index 0de778929..0556cf901 100644 --- a/src/test/regress/isolation_schedule +++ b/src/test/regress/isolation_schedule @@ -62,7 +62,6 @@ test: isolation_insert_select_conflict test: shared_connection_waits test: isolation_cancellation test: isolation_undistribute_table -test: isolation_citus_update_table_statistics test: isolation_fix_partition_shard_index_names # Rebalancer diff --git a/src/test/regress/spec/isolation_citus_update_table_statistics.spec b/src/test/regress/spec/isolation_citus_update_table_statistics.spec deleted file mode 100644 index 5581e292f..000000000 --- a/src/test/regress/spec/isolation_citus_update_table_statistics.spec +++ /dev/null @@ -1,59 +0,0 @@ -setup -{ - CREATE TABLE dist_table(a INT, b INT); - SELECT create_distributed_table('dist_table', 'a'); -} - -teardown -{ - DROP TABLE IF EXISTS dist_table; -} - -session "s1" - -step "s1-begin" -{ - BEGIN; -} - -step "s1-drop-table" -{ - DROP TABLE dist_table; -} - -step "s1-commit" -{ - COMMIT; -} - -session "s2" - -step "s2-begin" -{ - BEGIN; -} - -step "s2-citus-update-table-statistics" -{ - SET client_min_messages TO NOTICE; - SELECT citus_update_table_statistics(logicalrelid) FROM pg_dist_partition; -} - -step "s2-citus-shards" -{ - SELECT 1 AS result FROM citus_shards GROUP BY result; -} - -step "s2-commit" -{ - COMMIT; -} - -permutation "s1-begin" "s1-drop-table" "s2-citus-update-table-statistics" "s1-commit" -permutation "s1-begin" "s1-drop-table" "s2-citus-shards" "s1-commit" -permutation "s2-begin" "s2-citus-shards" "s1-drop-table" "s2-commit" - -// ERROR: tuple concurrently deleted -- is expected in the following permutation -// Check the explanation at PR #5155 in the following comment -// https://github.com/citusdata/citus/pull/5155#issuecomment-897028194 -permutation "s2-begin" "s2-citus-update-table-statistics" "s1-drop-table" "s2-commit"