From 9508806d2f7fde5aaec7f2fcf6db7c6214327fbc Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Mon, 3 Jul 2017 14:01:52 +0300 Subject: [PATCH] Fix test errors --- src/test/regress/expected/multi_partitioning.out | 3 +++ src/test/regress/expected/multi_partitioning_0.out | 3 +++ src/test/regress/sql/multi_partitioning.sql | 4 ++++ 3 files changed, 10 insertions(+) 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;