pg_upgrade test script creates port conflicts in parallel testing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pg_upgrade test script creates port conflicts in parallel testing
Дата
Msg-id 19122.1357235881@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: pg_upgrade test script creates port conflicts in parallel testing  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
I've been getting complaints lately about failures of parallel builds
of the Fedora Postgres RPMs on the same machine.  I just figured out
what's going on: the pg_upgrade regression test script starts test
postmasters using the default value of listen_addresses, which means
that they try to bind to TCP port 50432 on localhost, which means the
test fails if there's more than one concurrent instance.  This does
not happen for the main regression tests, nor for any other contrib
module, because pg_regress.c's postmaster-starting code explicitly
sets listen_addresses to empty, so that only the Unix socket is
active.  (RPM building in Fedora generally happens in a chroot, so
there is no conflict of Unix sockets - they're not in the same /tmp.)

pg_upgrade itself also sets listen_addresses to empty; it's only
the test script that hasn't gotten the memo.

Does anyone have an objection to fixing the pg_upgrade test script
to suppress the TCP socket?
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"