fix test again

This commit is contained in:
fjy 2014-08-08 10:45:59 -07:00
parent 8877ee9714
commit d4cf2763ac
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class TieredBrokerHostSelectorTest
} }
}, },
factory, factory,
Arrays.asList(new TimeBoundaryTieredBrokerSelectorStrategy(), new PriorityTieredBrokerSelectorStrategy(1, 1)) Arrays.asList(new TimeBoundaryTieredBrokerSelectorStrategy(), new PriorityTieredBrokerSelectorStrategy(0, 1))
); );
EasyMock.expect(factory.createSelector(EasyMock.<String>anyObject())).andReturn(selector).atLeastOnce(); EasyMock.expect(factory.createSelector(EasyMock.<String>anyObject())).andReturn(selector).atLeastOnce();
EasyMock.replay(factory); EasyMock.replay(factory);