Reorder identity regression test
authorPeter Eisentraut <[email protected]>
Thu, 14 Mar 2019 23:16:45 +0000 (00:16 +0100)
committerPeter Eisentraut <[email protected]>
Thu, 14 Mar 2019 23:21:30 +0000 (00:21 +0100)
The previous test order had the effect that if something was wrong
with the identity functionality, the create_table_like test would
likely fail or crash first, which is confusing.  Reorder so that the
identity test comes before create_table_like.

src/test/regress/expected/identity.out
src/test/regress/expected/sanity_check.out
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/identity.sql

index d7d5178f5d8d452e1e238454e05eacb6f38196ee..f8f3ae8d11b92bba57965ab62925f8fb8cd341f2 100644 (file)
@@ -250,6 +250,7 @@ SELECT * FROM itestv11;
  11 | xyz
 (3 rows)
 
+DROP VIEW itestv10, itestv11;
 -- ADD COLUMN
 CREATE TABLE itest13 (a int);
 -- add column to empty table
index aaaa488b3cdc37cf7fbfd803d7d6bb1db2c3f716..29682e38668b67f4977f518c387a1f0473ad6ef3 100644 (file)
@@ -57,8 +57,6 @@ hash_txt_heap|t
 hobbies_r|f
 ihighway|t
 inet_tbl|f
-inhf|f
-inhx|t
 insert_tbl|f
 int2_tbl|f
 int4_tbl|f
index e82f766cf1d6f9dbfd23edba6910307effe116ba..030a71f3a4b8d4ba76febc89ed1996fc774befe7 100644 (file)
@@ -60,7 +60,7 @@ test: create_index create_view index_including index_including_gist
 # ----------
 # Another group of parallel tests
 # ----------
-test: create_aggregate create_function_3 create_cast constraints triggers inherit create_table_like typed_table vacuum drop_if_exists updatable_views rolenames roleattributes create_am hash_func
+test: create_aggregate create_function_3 create_cast constraints triggers inherit typed_table vacuum drop_if_exists updatable_views rolenames roleattributes create_am hash_func
 
 # ----------
 # sanity_check does a vacuum, affecting the sort order of SELECT *
@@ -84,12 +84,12 @@ test: select_into select_distinct select_distinct_on select_implicit select_havi
 # ----------
 # Another group of parallel tests
 # ----------
-test: brin gin gist spgist privileges init_privs security_label collate matview lock replica_identity rowsecurity object_address tablesample groupingsets drop_operator password
+test: brin gin gist spgist privileges init_privs security_label collate matview lock replica_identity rowsecurity object_address tablesample groupingsets drop_operator password identity
 
 # ----------
 # Another group of parallel tests
 # ----------
-test: alter_generic alter_operator misc psql async dbsize misc_functions sysviews tsrf tidscan stats_ext
+test: create_table_like alter_generic alter_operator misc psql async dbsize misc_functions sysviews tsrf tidscan stats_ext
 
 # rules cannot run concurrently with any test that creates a view
 test: rules psql_crosstab amutils
@@ -116,7 +116,7 @@ test: plancache limit plpgsql copy2 temp domain rangefuncs prepare conversion tr
 # ----------
 # Another group of parallel tests
 # ----------
-test: identity partition_join partition_prune reloptions hash_part indexing partition_aggregate partition_info
+test: partition_join partition_prune reloptions hash_part indexing partition_aggregate partition_info
 
 # event triggers cannot run concurrently with any test that runs DDL
 test: event_trigger
index c2dba25d5e0d3bfe2172b1c89a08af64de35f9a0..3e53d7d8f3384051fe28b319ced4dcb9213d93d3 100644 (file)
@@ -72,7 +72,6 @@ test: create_cast
 test: constraints
 test: triggers
 test: inherit
-test: create_table_like
 test: typed_table
 test: vacuum
 test: drop_if_exists
@@ -122,6 +121,8 @@ test: tablesample
 test: groupingsets
 test: drop_operator
 test: password
+test: identity
+test: create_table_like
 test: alter_generic
 test: alter_operator
 test: misc
@@ -178,7 +179,6 @@ test: returning
 test: largeobject
 test: with
 test: xml
-test: identity
 test: partition_join
 test: partition_prune
 test: reloptions
index a35f331f4e02d5f11d533517119795008fafc85a..43c2a59d02ee3e1e0b0505533def6ec7224b3fdb 100644 (file)
@@ -145,6 +145,8 @@ INSERT INTO itestv11 OVERRIDING SYSTEM VALUE VALUES (11, 'xyz');
 
 SELECT * FROM itestv11;
 
+DROP VIEW itestv10, itestv11;
+
 
 -- ADD COLUMN