Re: parallel regression test output - Mailing list pgsql-hackers

From Robert Haas
Subject Re: parallel regression test output
Date
Msg-id 603c8f071001172054p8943e37ue756c960278654cf@mail.gmail.com
Whole thread Raw
In response to parallel regression test output  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: parallel regression test output
List pgsql-hackers
On Sun, Jan 17, 2010 at 3:19 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> 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.

I always assumed that it was printing the names as the tests finished,
probably because of the way the output is staggered.  If they were
printed when the tests were started, the list would be printed all but
simultaneously.

> 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.

Terminal timing issues?

> 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.

I think I prefer the current behavior.  As Tom said downthread, it
gives you a sort of progress indicator.

...Robert


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Streaming Replication on win32
Next
From: Fujii Masao
Date:
Subject: Streaming replication and wal skipping