pgsql: Fix regression test failure caused by commit 8d74fc96db.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Fix regression test failure caused by commit 8d74fc96db.
Дата
Msg-id E1msK8T-0003lM-TS@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix regression test failure caused by commit 8d74fc96db.

The tests didn't considered that an error unrelated to apply changes, e.g.
"replication origin with OID %d is already active ...", could occur on the
table sync worker before starting to copy changes.

To make the test robust we instead need to check the expected error and
the source of error which will be either tablesync or apply worker.

In passing remove the harmless option "streaming = off" from Create
Subscription command as that is anyway the default.

Per buildfarm member sidewinder.

Author: Masahiko Sawada
Reviewed-by: Hou Zhijie, Vignesh C, Amit Kapila
Discussion: https://postgr.es/m/CAD21AoDeScrsHhLyEPYqN3sydg6PxAPVBboK=30xJfUVihNZDA@mail.gmail.com
Discussion: https://postgr.es/m/E1mrtvV-0002Gz-73@gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/41e66fee051619ab84828814554f73556a958850

Modified Files
--------------
src/test/subscription/t/026_worker_stats.pl | 59 +++++++++++++++++------------
1 file changed, 34 insertions(+), 25 deletions(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Doc: Add "Attach Partition" limitation during logical replicatio
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Some additional information about when to use referential a