pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: meson: Add 'running' test setup, as a replacement for installche
4+ messages / 3 participants
[nested] [flat]
* pgsql: meson: Add 'running' test setup, as a replacement for installche
@ 2022-12-07 20:48 Andres Freund <andres@anarazel.de>
2022-12-16 06:52 ` Re: pgsql: meson: Add 'running' test setup, as a replacement for installche Thomas Munro <thomas.munro@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Andres Freund @ 2022-12-07 20:48 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
meson: Add 'running' test setup, as a replacement for installcheck
To run all tests that support running against existing server:
$ meson test --setup running
To run just the main pg_regress tests against existing server:
$ meson test --setup running regress-running/regress
To ensure the 'running' setup continues to work, test it as part of the
freebsd CI task.
Discussion: https://postgr.es/m/CAH2-Wz=XDQcmLoo7RR_i6FKQdDmcyb9q5gStnfuuQXrOGhB2sQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3f0e786ccbf50a2f819fbf72d51ba13221adaaa1
Modified Files
--------------
.cirrus.yml | 15 +++++
contrib/basic_archive/meson.build | 3 +
contrib/pg_freespacemap/meson.build | 3 +
contrib/pg_stat_statements/meson.build | 4 ++
contrib/pg_walinspect/meson.build | 3 +
contrib/test_decoding/meson.build | 5 ++
doc/src/sgml/installation.sgml | 6 ++
meson.build | 91 ++++++++++++++++++++++-----
src/interfaces/ecpg/test/meson.build | 1 +
src/test/isolation/meson.build | 1 +
src/test/modules/commit_ts/meson.build | 3 +
src/test/modules/snapshot_too_old/meson.build | 3 +
src/test/modules/test_oat_hooks/meson.build | 1 +
src/test/modules/test_pg_dump/meson.build | 2 +
src/test/modules/test_slru/meson.build | 1 +
src/test/modules/worker_spi/meson.build | 4 +-
src/test/regress/meson.build | 1 +
17 files changed, 132 insertions(+), 15 deletions(-)
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pgsql: meson: Add 'running' test setup, as a replacement for installche
2022-12-07 20:48 pgsql: meson: Add 'running' test setup, as a replacement for installche Andres Freund <andres@anarazel.de>
@ 2022-12-16 06:52 ` Thomas Munro <thomas.munro@gmail.com>
2022-12-16 07:12 ` Re: pgsql: meson: Add 'running' test setup, as a replacement for installche Andres Freund <andres@anarazel.de>
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Munro @ 2022-12-16 06:52 UTC (permalink / raw)
To: Andres Freund <andres@anarazel.de>; +Cc: pgsql-committers@lists.postgresql.org
On Thu, Dec 8, 2022 at 9:48 AM Andres Freund <andres@anarazel.de> wrote:
> meson: Add 'running' test setup, as a replacement for installcheck
The -running tests don't seem to be completely stable on CI. I don't
know why (smells like plan changes?) but see cfbot.cputube.org for
some flapping on FreeBSD (the only OS where this is enabled), and
there's also one example on github.com/posgres/postgres that seems a
bit different.
>
> To run all tests that support running against existing server:
> $ meson test --setup running
>
> To run just the main pg_regress tests against existing server:
> $ meson test --setup running regress-running/regress
>
> To ensure the 'running' setup continues to work, test it as part of the
> freebsd CI task.
>
> Discussion: https://postgr.es/m/CAH2-Wz=XDQcmLoo7RR_i6FKQdDmcyb9q5gStnfuuQXrOGhB2sQ@mail.gmail.com
>
> Branch
> ------
> master
>
> Details
> -------
> https://git.postgresql.org/pg/commitdiff/3f0e786ccbf50a2f819fbf72d51ba13221adaaa1
>
> Modified Files
> --------------
> .cirrus.yml | 15 +++++
> contrib/basic_archive/meson.build | 3 +
> contrib/pg_freespacemap/meson.build | 3 +
> contrib/pg_stat_statements/meson.build | 4 ++
> contrib/pg_walinspect/meson.build | 3 +
> contrib/test_decoding/meson.build | 5 ++
> doc/src/sgml/installation.sgml | 6 ++
> meson.build | 91 ++++++++++++++++++++++-----
> src/interfaces/ecpg/test/meson.build | 1 +
> src/test/isolation/meson.build | 1 +
> src/test/modules/commit_ts/meson.build | 3 +
> src/test/modules/snapshot_too_old/meson.build | 3 +
> src/test/modules/test_oat_hooks/meson.build | 1 +
> src/test/modules/test_pg_dump/meson.build | 2 +
> src/test/modules/test_slru/meson.build | 1 +
> src/test/modules/worker_spi/meson.build | 4 +-
> src/test/regress/meson.build | 1 +
> 17 files changed, 132 insertions(+), 15 deletions(-)
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pgsql: meson: Add 'running' test setup, as a replacement for installche
2022-12-07 20:48 pgsql: meson: Add 'running' test setup, as a replacement for installche Andres Freund <andres@anarazel.de>
2022-12-16 06:52 ` Re: pgsql: meson: Add 'running' test setup, as a replacement for installche Thomas Munro <thomas.munro@gmail.com>
@ 2022-12-16 07:12 ` Andres Freund <andres@anarazel.de>
0 siblings, 0 replies; 4+ messages in thread
From: Andres Freund @ 2022-12-16 07:12 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: pgsql-committers@lists.postgresql.org
Hi,
On 2022-12-16 19:52:41 +1300, Thomas Munro wrote:
> On Thu, Dec 8, 2022 at 9:48 AM Andres Freund <andres@anarazel.de> wrote:
> > meson: Add 'running' test setup, as a replacement for installcheck
>
> The -running tests don't seem to be completely stable on CI. I don't
> know why (smells like plan changes?) but see cfbot.cputube.org for
> some flapping on FreeBSD (the only OS where this is enabled), and
> there's also one example on github.com/posgres/postgres that seems a
> bit different.
Yep, see
https://postgr.es/m/20221209001511.n3vqodxobqgscuil%40awork3.anarazel.de
and then the prototype patch at
https://www.postgresql.org/message-id/20221209020815.wsoixct72c6hst5l%40awork3.anarazel.de
without that patch the tests failed locally within < 10 iterations, with
it I got through 100 without a failure.
Greetings,
Andres Freund
^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: meson: Add 'running' test setup, as a replacement for installche
@ 2023-01-05 10:12 Alexander Korotkov <akorotkov@postgresql.org>
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Korotkov @ 2023-01-05 10:12 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
meson: Add 'running' test setup, as a replacement for installcheck
Do the same as 3f0e786ccbf5 for test_pg_db_role_setting.
Discussion: https://postgr.es/m/20221227065456.GU1153@telsasoft.com
Author: Pavel Borisov
Reviewed-by: Justin Pryzby, Tom Lane
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/afdd9f7f0e001f109472df513eb416cc967bc199
Modified Files
--------------
src/test/modules/test_pg_db_role_setting/meson.build | 1 +
1 file changed, 1 insertion(+)
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2023-01-05 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07 20:48 pgsql: meson: Add 'running' test setup, as a replacement for installche Andres Freund <andres@anarazel.de>
2022-12-16 06:52 ` Thomas Munro <thomas.munro@gmail.com>
2022-12-16 07:12 ` Andres Freund <andres@anarazel.de>
2023-01-05 10:12 pgsql: meson: Add 'running' test setup, as a replacement for installche Alexander Korotkov <akorotkov@postgresql.org>
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