Fix query in new test to check tables are synced

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 7f4708818317f59a0452f549dedf4ce35182c13f
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2020-10-15T12:48:36Z
Releases: 14.0
Fix query in new test to check tables are synced

Rather than looking for tablesync workers, it is more reliable to see
the sync state of the tables.

Per note from Amit Kapila.
Discussion: https://postgr.es/m/CAA4eK1JSSD7FVwq+_rOme86jUZTQFzjsNU06hQ4-LiRt1xFmSg@mail.gmail.com

Files

PathChange+/−
src/test/subscription/t/100_bugs.pl modified +5 −5

Discussion