diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-06-01 19:38:07 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-06-01 19:38:07 +0000 |
| commit | bd0a260928971feec484a22f0b86e5d1936c974f (patch) | |
| tree | 50e7378f30e0bdbeeb8f86b532fbed5861b0c8c5 /src/pl | |
| parent | 41ef1c0f327b79516cb423bba840a6322226dc28 (diff) | |
| download | postgresql-bd0a260928971feec484a22f0b86e5d1936c974f.tar.gz | |
Make CREATE/DROP/RENAME DATABASE wait a little bit to see if other backends
will exit before failing because of conflicting DB usage. Per discussion,
this seems a good idea to help mask the fact that backend exit takes nonzero
time. Remove a couple of thereby-obsoleted sleeps in contrib and PL
regression test sequences.
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/pl/Makefile b/src/pl/Makefile index 1b4ef86a59..4a0f365472 100644 --- a/src/pl/Makefile +++ b/src/pl/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/pl/Makefile,v 1.25 2007/02/09 15:55:59 petere Exp $ +# $PostgreSQL: pgsql/src/pl/Makefile,v 1.26 2007/06/01 19:38:07 tgl Exp $ # #------------------------------------------------------------------------- @@ -32,12 +32,9 @@ all install installdirs uninstall distprep: clean distclean maintainer-clean: @for dir in $(DIRS); do $(MAKE) -C $$dir $@; done -# We'd like check operations to run all the subtests before failing; -# also insert a sleep to ensure the previous test backend exited before -# we try to drop the regression database. +# We'd like check operations to run all the subtests before failing. check installcheck: @CHECKERR=0; for dir in $(DIRS); do \ - sleep 1; \ $(MAKE) -C $$dir $@ || CHECKERR=$$?; \ done; \ exit $$CHECKERR |
