postgresql/contrib/test_decoding
Tomas Vondra a180c2b34d Stabilize test_decoding touching with sequences
Some of the test_decoding regression tests are unstable due to modifying
a sequence. The first increment of a sequence after a checkpoint is
always logged (and thus decoded), which makes the output unpredictable.
The runs are usually much shorter than a checkpoint internal, so these
failures are rare, but we've seen a couple of them on animals that are
either slow or are running with valgrind/clobber cache/...

Fixed by skipping sequence decoding in most tests, with the exception of
the test aimed at testing decoding of sequences.

Reported-by: Amita Kapila
Discussion: https://postgr.es/m/d045f3c2-6cfb-06d3-5540-e63c320df8bc@enterprisedb.com
2022-03-08 19:23:00 +01:00
..
expected Stabilize test_decoding touching with sequences 2022-03-08 19:23:00 +01:00
specs Add isolation test for errors during logical slot creation. 2022-02-14 21:53:36 -08:00
sql Stabilize test_decoding touching with sequences 2022-03-08 19:23:00 +01:00
t Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
Makefile Add isolation test for errors during logical slot creation. 2022-02-14 21:53:36 -08:00
logical.conf Add logical_decoding_work_mem to limit ReorderBuffer memory usage. 2019-11-19 07:32:36 +05:30
test_decoding.c Fix skip-empty-xacts with sequences in test_decoding 2022-02-12 23:50:42 +01:00