Fixed faulty tests.

This commit is contained in:
Kusal Ekanayake
2017-09-28 15:35:58 +13:00
parent 6d0835b0cf
commit 77ee1ebbc0
3 changed files with 8 additions and 4 deletions
@@ -48,9 +48,10 @@ public class ServerTableTest {
serverTable.addServer(listing);
listing.decrementTtl();
listing.decrementTtl();
Thread.sleep(1000);
Thread.sleep(1500);
assertTrue(!serverTable.getAllServers().contains(listing));
}