pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Smolkin Grigory <smallkeen@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: race condition in pg_class
Date: Tue, 18 Mar 2025 12:17:41 -0700
Message-ID: <20250318191741.88.nmisch@google.com> (raw)
In-Reply-To: <kx6xu7suexal5vwsxpy7ybgkcznx6hgywbuhkr6qabcwxjqax2@i4pcpk75jvaa>
References: <CAMp+ueZQz3yDk7qg42hk6-9gxniYbp-=bG2mgqecErqR5gGGOA@mail.gmail.com>
	<20231027044404.7e.nmisch@google.com>
	<20231027184832.9b.nmisch@google.com>
	<1596629.1698435146@sss.pgh.pa.us>
	<20231027214946.79.nmisch@google.com>
	<1617596.1698446455@sss.pgh.pa.us>
	<20231027232612.99.nmisch@google.com>
	<20231102030915.d3.nmisch@google.com>
	<20240512232923.aa.nmisch@google.com>
	<kx6xu7suexal5vwsxpy7ybgkcznx6hgywbuhkr6qabcwxjqax2@i4pcpk75jvaa>

On Tue, Mar 18, 2025 at 03:03:52PM -0400, Andres Freund wrote:
> Subject: [PATCH v1] meson: Flush stdout in testwrap
> 
> Otherwise the progress won't reliably be displayed during a test.
> ---
>  src/tools/testwrap | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/tools/testwrap b/src/tools/testwrap
> index 8ae8fb79ba7..21105146c9d 100755
> --- a/src/tools/testwrap
> +++ b/src/tools/testwrap
> @@ -61,6 +61,7 @@ for line in sp.stdout:
>      if line.startswith(b'ok '):
>          line = line.replace(b' # TODO ', b' # testwrap-overridden-TODO ', 1)
>      sys.stdout.buffer.write(line)
> +    sys.stdout.flush()
>  returncode = sp.wait()

Fine with me.





view thread (86+ messages)  latest in thread

Message-ID: <20250318191741.88.nmisch@google.com>
Permalink:  ../20250318191741.88.nmisch@google.com/
Also on:    postgresql.org/message-id/20250318191741.88.nmisch@google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: noah@leadboat.com, andres@anarazel.de, tgl@sss.pgh.pa.us, smallkeen@gmail.com
  Subject: Re: race condition in pg_class
  In-Reply-To: <20250318191741.88.nmisch@google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox