pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix test case instability introduced in 085b6b667. 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix test case instability introduced in 085b6b667. @ 2020-03-11 22:24 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2020-03-11 22:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix test case instability introduced in 085b6b667. I forgot that the WAL directory might hold other files besides WAL segments, notably including new segments still being filled. That means a blind test for the first file's size being 16MB can fail. Restrict based on file name length to make it more robust. Per buildfarm. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a029a0641cce002acbb5e8ac6ec5533e599a9aea Modified Files -------------- src/test/regress/expected/misc_functions.out | 3 ++- src/test/regress/sql/misc_functions.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix test case instability introduced in 085b6b667. @ 2020-03-11 22:24 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2020-03-11 22:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix test case instability introduced in 085b6b667. I forgot that the WAL directory might hold other files besides WAL segments, notably including new segments still being filled. That means a blind test for the first file's size being 16MB can fail. Restrict based on file name length to make it more robust. Per buildfarm. Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/630590d6ff632b95418eff9e98482d9a93b60ee3 Modified Files -------------- src/test/regress/expected/misc_functions.out | 3 ++- src/test/regress/sql/misc_functions.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix test case instability introduced in 085b6b667. @ 2020-03-11 22:24 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2020-03-11 22:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix test case instability introduced in 085b6b667. I forgot that the WAL directory might hold other files besides WAL segments, notably including new segments still being filled. That means a blind test for the first file's size being 16MB can fail. Restrict based on file name length to make it more robust. Per buildfarm. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/13f353b0e0775642c212ac557b371eefa171d179 Modified Files -------------- src/test/regress/expected/misc_functions.out | 3 ++- src/test/regress/sql/misc_functions.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix test case instability introduced in 085b6b667. @ 2020-03-11 22:24 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2020-03-11 22:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix test case instability introduced in 085b6b667. I forgot that the WAL directory might hold other files besides WAL segments, notably including new segments still being filled. That means a blind test for the first file's size being 16MB can fail. Restrict based on file name length to make it more robust. Per buildfarm. Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/064e029e60a516dea6566652d729419a51294ac2 Modified Files -------------- src/test/regress/expected/misc_functions.out | 3 ++- src/test/regress/sql/misc_functions.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-03-11 22:24 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-03-11 22:24 pgsql: Fix test case instability introduced in 085b6b667. Tom Lane <tgl@sss.pgh.pa.us> 2020-03-11 22:24 pgsql: Fix test case instability introduced in 085b6b667. Tom Lane <tgl@sss.pgh.pa.us> 2020-03-11 22:24 pgsql: Fix test case instability introduced in 085b6b667. Tom Lane <tgl@sss.pgh.pa.us> 2020-03-11 22:24 pgsql: Fix test case instability introduced in 085b6b667. Tom Lane <tgl@sss.pgh.pa.us>
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