Run the "tablespace" regression test first not last. The former placement
renders useless one of the few test methodologies we have for WAL replay, which is to intentionally crash the system just after completing the regression tests and see if it recovers to the expected database state. The reason is that DROP TABLESPACE forces a checkpoint, so there's essentially no WAL available for replay after the tests complete.
This commit is contained in:
parent
7fc7a7c4d0
commit
3bee0a4642
@ -1,10 +1,15 @@
|
||||
# ----------
|
||||
# $PostgreSQL: pgsql/src/test/regress/parallel_schedule,v 1.56 2009/07/02 07:03:18 petere Exp $
|
||||
# $PostgreSQL: pgsql/src/test/regress/parallel_schedule,v 1.57 2009/08/24 03:10:16 tgl Exp $
|
||||
#
|
||||
# By convention, we put no more than twenty tests in any one parallel group;
|
||||
# this limits the number of connections needed to run the tests.
|
||||
# ----------
|
||||
|
||||
# run tablespace by itself, and first, because it forces a checkpoint;
|
||||
# we'd prefer not to have checkpoints later in the tests because that
|
||||
# interferes with crash-recovery testing.
|
||||
test: tablespace
|
||||
|
||||
# ----------
|
||||
# The first group of parallel tests
|
||||
# ----------
|
||||
@ -89,6 +94,3 @@ test: plancache limit plpgsql copy2 temp domain rangefuncs prepare without_oid c
|
||||
|
||||
# run stats by itself because its delay may be insufficient under heavy load
|
||||
test: stats
|
||||
|
||||
# run tablespace by itself
|
||||
test: tablespace
|
||||
|
@ -1,5 +1,6 @@
|
||||
# $PostgreSQL: pgsql/src/test/regress/serial_schedule,v 1.53 2009/07/02 07:03:18 petere Exp $
|
||||
# $PostgreSQL: pgsql/src/test/regress/serial_schedule,v 1.54 2009/08/24 03:10:16 tgl Exp $
|
||||
# This should probably be in an order similar to parallel_schedule.
|
||||
test: tablespace
|
||||
test: boolean
|
||||
test: char
|
||||
test: name
|
||||
@ -121,4 +122,3 @@ test: largeobject
|
||||
test: with
|
||||
test: xml
|
||||
test: stats
|
||||
test: tablespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user