refactored tests (#147)

This commit is contained in:
Timofey Turenko
2017-12-08 12:23:04 +02:00
committed by GitHub
parent c6daf8c26b
commit 3c88bf1ec6
253 changed files with 5265 additions and 3649 deletions

View File

@ -13,12 +13,12 @@ int main(int argc, char *argv[])
test.tprintf("Blocking master and checking that master failure is delayed at least once.");
test.repl->block_node(0);
sleep(5);
test.log_includes("delaying.*failover");
test.log_includes(0, "delaying.*failover");
test.tprintf("Waiting to see if failover is performed.");
sleep(10);
test.log_includes("Performing.*failover");
test.log_includes(0, "Performing.*failover");
// TODO: Extend the test