increase timeout for slow machines and provide more descriptive error message

This commit is contained in:
Xavier Léauté 2013-11-04 14:07:43 -08:00
parent 285b515777
commit 76732c25f8
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ public class ServerManagerTest
)
);
queryNotifyLatch.await(25, TimeUnit.MILLISECONDS);
Assert.assertTrue("Operation must complete within 100ms", queryNotifyLatch.await(100, TimeUnit.MILLISECONDS));
Assert.assertEquals(1, factory.getSegmentReferences().size());