Fix test case instability introduced in 085b6b667.
authorTom Lane <[email protected]>
Wed, 11 Mar 2020 22:23:57 +0000 (18:23 -0400)
committerTom Lane <[email protected]>
Wed, 11 Mar 2020 22:24:15 +0000 (18:24 -0400)
commit064e029e60a516dea6566652d729419a51294ac2
tree55c725c689d1852d8ab91ac3d420ad6776b27972
parentd04e342ba404171c706f96e501865fe0d5f6b1e5
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