From f42b1a4181f80826cb22bc01d90c89fc010abf3f Mon Sep 17 00:00:00 2001 From: fjy Date: Mon, 24 Nov 2014 11:42:24 -0800 Subject: [PATCH] fix broken ut --- .../server/coordinator/DruidCoordinatorRuleRunnerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/io/druid/server/coordinator/DruidCoordinatorRuleRunnerTest.java b/server/src/test/java/io/druid/server/coordinator/DruidCoordinatorRuleRunnerTest.java index 5a1a454799b..0d2489d42c0 100644 --- a/server/src/test/java/io/druid/server/coordinator/DruidCoordinatorRuleRunnerTest.java +++ b/server/src/test/java/io/druid/server/coordinator/DruidCoordinatorRuleRunnerTest.java @@ -443,7 +443,7 @@ public class DruidCoordinatorRuleRunnerTest { mockCoordinator(); emitter.emit(EasyMock.anyObject()); - EasyMock.expectLastCall().times(availableSegments.size()); + EasyMock.expectLastCall().times(1); EasyMock.replay(emitter); EasyMock.expect(databaseRuleManager.getRulesWithDefault(EasyMock.anyObject())).andReturn(