Skip to content

Commit

Permalink
Merge branch 'master' of github.com:metamx/druid
Browse files Browse the repository at this point in the history
  • Loading branch information
fjy committed May 12, 2014
2 parents 32eee95 + 4cc2f98 commit c57a18d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void start()
final Duration delay = config.get().getPollDuration().toStandardDuration();
ScheduledExecutors.scheduleWithFixedDelay(
exec,
delay,
new Duration(0),
delay,
new Runnable()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void tearDown() throws Exception
@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();
Expand Down

0 comments on commit c57a18d

Please sign in to comment.