diff --git a/src/test/regress/expected/multi_partitioning.out b/src/test/regress/expected/multi_partitioning.out index b73e06d7e..157994e04 100644 --- a/src/test/regress/expected/multi_partitioning.out +++ b/src/test/regress/expected/multi_partitioning.out @@ -186,3 +186,6 @@ ORDER BY -- dropping the parent should CASCADE to the children as well DROP TABLE partitioning_test; \d+ partitioning_test* +-- set the colocationid sequence back to 1 to make sure +-- that this file does not break other tests +ALTER SEQUENCE pg_catalog.pg_dist_colocationid_seq RESTART 1; diff --git a/src/test/regress/expected/multi_partitioning_0.out b/src/test/regress/expected/multi_partitioning_0.out index 4bd3cf35c..0531616af 100644 --- a/src/test/regress/expected/multi_partitioning_0.out +++ b/src/test/regress/expected/multi_partitioning_0.out @@ -172,3 +172,6 @@ ERROR: table "partitioning_test" does not exist id | integer | | plain | | time | date | | plain | | +-- set the colocationid sequence back to 1 to make sure +-- that this file does not break other tests +ALTER SEQUENCE pg_catalog.pg_dist_colocationid_seq RESTART 1; diff --git a/src/test/regress/sql/multi_partitioning.sql b/src/test/regress/sql/multi_partitioning.sql index c5495d497..cb1241c37 100644 --- a/src/test/regress/sql/multi_partitioning.sql +++ b/src/test/regress/sql/multi_partitioning.sql @@ -124,3 +124,7 @@ ORDER BY DROP TABLE partitioning_test; \d+ partitioning_test* + +-- set the colocationid sequence back to 1 to make sure +-- that this file does not break other tests +ALTER SEQUENCE pg_catalog.pg_dist_colocationid_seq RESTART 1;