From 76732c25f8c9897ab3221480399ca1810aed69ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Mon, 4 Nov 2013 14:07:43 -0800 Subject: [PATCH] increase timeout for slow machines and provide more descriptive error message --- .../java/io/druid/server/coordination/ServerManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/io/druid/server/coordination/ServerManagerTest.java b/server/src/test/java/io/druid/server/coordination/ServerManagerTest.java index f3483487c1d..013544dabf1 100644 --- a/server/src/test/java/io/druid/server/coordination/ServerManagerTest.java +++ b/server/src/test/java/io/druid/server/coordination/ServerManagerTest.java @@ -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());