Re: pgsql: Clean up role created in new subscription test.

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-05-16T09:17:17Z
Lists: pgsql-hackers

Attachments

> On 15 May 2023, at 10:59, Daniel Gustafsson <daniel@yesql.se> wrote:

> Looking at this I also found a bug introduced in the TAP format patch, which
> made failed single run tests report as 0ms due to the parameters being mixed up
> in the report function call.  This is in 0002, which I'll apply to HEAD
> regardless of 0001 as they are unrelated.

With 0002 applied, attached is just the 0001 rebased to keep the CFBot from
being angry when applying an already applied patch.  Parked in the July CF for
now.

--
Daniel Gustafsson

Commits

  1. Drop global objects after completed test

  2. Fix reported runtime for single tests in pg_regress

  3. Clean up role created in new subscription test.