ReplicationIT: Split waitUntil to a separate class and fix it The waitUntil method does not fail the test if the expected condition is not satisfied within the timeout; it just returns. Split it out to a separate class, to make it easier to test, fix it, and add tests. Change-Id: I6cbd6801bcfd07869dd56d3ab6b54c5ac7c8a691