mirror of https://github.com/apache/druid.git
Merge branch 'master' of github.com:metamx/druid
This commit is contained in:
commit
c57a18d6b6
|
@ -106,7 +106,7 @@ public class DatabaseSegmentManager
|
|||
final Duration delay = config.get().getPollDuration().toStandardDuration();
|
||||
ScheduledExecutors.scheduleWithFixedDelay(
|
||||
exec,
|
||||
delay,
|
||||
new Duration(0),
|
||||
delay,
|
||||
new Runnable()
|
||||
{
|
||||
|
|
|
@ -106,7 +106,7 @@ public class DatabaseSegmentManagerTest
|
|||
@Test
|
||||
public void testPoll()
|
||||
{
|
||||
EasyMock.expect(dbi.withHandle(EasyMock.<HandleCallback>anyObject())).andReturn(testRows);
|
||||
EasyMock.expect(dbi.withHandle(EasyMock.<HandleCallback>anyObject())).andReturn(testRows).times(2);
|
||||
EasyMock.replay(dbi);
|
||||
|
||||
manager.start();
|
||||
|
|
Loading…
Reference in New Issue