fix broken ut

This commit is contained in:
fjy 2014-11-24 11:42:24 -08:00
parent 8c5b6e6ef8
commit f42b1a4181
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ public class DruidCoordinatorRuleRunnerTest
{ {
mockCoordinator(); mockCoordinator();
emitter.emit(EasyMock.<ServiceEventBuilder>anyObject()); emitter.emit(EasyMock.<ServiceEventBuilder>anyObject());
EasyMock.expectLastCall().times(availableSegments.size()); EasyMock.expectLastCall().times(1);
EasyMock.replay(emitter); EasyMock.replay(emitter);
EasyMock.expect(databaseRuleManager.getRulesWithDefault(EasyMock.<String>anyObject())).andReturn( EasyMock.expect(databaseRuleManager.getRulesWithDefault(EasyMock.<String>anyObject())).andReturn(