Close race condition in Filewatching tests (#46028)
On some machines, we are able to delay starting our loop until more than
a second after we take the lock, which of course breaks the test. Let's
use a synchronization barrier to ensure that we're testing what we
intend to.