Skip site navigation (1) Skip section navigation (2)

parallel regression test output

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: parallel regression test output
Date: 2010-01-17 20:19:08
Message-ID: 1263759548.11833.43.camel@vanquo.pezone.net (view raw or flat)
Thread:
Lists: pgsql-hackers
There is something slightly funny about the regression test output.
When it starts a parallel group, it prints something like

parallel group (14 tests):  select_views portals_p2 rules foreign_key
cluster dependency guc bitmapops combocid tsearch tsdicts foreign_data
window xmlmap

One would think that it prints this as the tests are started, but it
actually prints it as the tests finish.  The last one or two test names
are always printed after a considerable delay, probably because of
terminal timing issues, which I have found confusing on several
occasions.

Note also that that behavior is inconsistent with that of a serial test
like

test misc             ... ok

Here, the first part of the line is printed before that test starts, and
the result is printed after.

I propose to adjust the behavior so that the "parallel group" line
prints the test names before/as the tests are started, and then the
subsequent lines print the results after the tests finish, as is
currently the case.

See attached patch.

Attachment: pg_regress-parallel.patch
Description: text/x-patch (1.1 KB)

Responses

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2010-01-17 20:22:06
Subject: Re: Streaming Replication on win32
Previous:From: Magnus HaganderDate: 2010-01-17 19:50:23
Subject: Re: Git out of sync vs. CVS

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group