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
3 files changed
tree: d66fed6a5b90badd994e90c4b45cdb7321cbd819
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE