pgsql: Fix race condition in parallel regression tests.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix race condition in parallel regression tests.
Date: 2007-03-16 16:11:49
Message-ID: 20070316161149.802D69FBA53@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix race condition in parallel regression tests. The new plancache test
was expecting there to be no regular table named 'foo', but it turns out
the rules test transiently creates one, so that plancache would sometimes
fail. I couldn't reproduce that in quite a few tries here, but several
buildfarm machines have shown the failure. Fix by renaming plancache's
temp table to something nonconflicting.

Modified Files:
--------------
pgsql/src/test/regress/expected:
plancache.out (r1.2 -> r1.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plancache.out.diff?r1=1.2&r2=1.3)
pgsql/src/test/regress/sql:
plancache.sql (r1.2 -> r1.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plancache.sql.diff?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2007-03-16 17:57:37 pgsql: Add new columns for tuple statistics on a database level to
Previous Message Alvaro Herrera 2007-03-16 15:06:47 pgsql: Fix uninitialized value in pgstatindex leading to invalid values