wait for data to replicate in the test