Fix test case instability introduced in 085b6b667.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 11 Mar 2020 22:23:57 +0000 (18:23 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 11 Mar 2020 22:24:11 +0000 (18:24 -0400)
commita029a0641cce002acbb5e8ac6ec5533e599a9aea
treeaa46ebaf1f8147c65ef7511b0bf7361c61db5bc6
parentb08dee24a5574ba6657d238b91c10f1f8e2608f8
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