jihoonson commented on a change in pull request #6901: Introduce published
segment cache in broker
URL: https://github.com/apache/incubator-druid/pull/6901#discussion_r252085728
##########
File path:
server/src/test/java/org/apache/druid/client/CachingClusteredClientTest.java
##########
@@ -2213,13 +2213,13 @@ public void run()
expectedResults.get(k).get(j)
);
serverExpectations.get(lastServer).addExpectation(expectation);
-
+ EasyMock.expect(mockSegment.getSize()).andReturn(-1L).anyTimes();
Review comment:
I guess you're simulating the segment from realtime tasks. Then, it would be
more realistic if it returns 0.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]