Fix test case instability introduced in 085b6b667.
authorTom Lane
Wed, 11 Mar 2020 22:23:57 +0000 (18:23 -0400)
committerTom Lane
Wed, 11 Mar 2020 22:24:13 +0000 (18:24 -0400)
commit630590d6ff632b95418eff9e98482d9a93b60ee3
tree5268bb980ec733a9fb99ae67f2bd1ddca0e2f568
parent393b449f1a643f5a90a4399dffa3148a94e5beec
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.
src/test/regress/expected/misc_functions.out
src/test/regress/sql/misc_functions.sql