maytasm commented on a change in pull request #10371:
URL: https://github.com/apache/druid/pull/10371#discussion_r489225007
##########
File path:
server/src/test/java/org/apache/druid/server/coordinator/duty/CompactSegmentsTest.java
##########
@@ -270,12 +275,246 @@ public String get()
assertLastSegmentNotCompacted(compactSegments);
}
+ @Test
+ public void testMakeStats()
Review comment:
For example, if you only care about the actual compaction (i.e.the spec
in the compaction is not as expected, etc) then you can focus on testRun() and
ignore all the stuff in assertCompactSegmentStatistics (along with all the
complicated calculation of each stats in each compaction call).
On the other hand if you need to debug incorrect calculation in
bytesCompacted (but the actual compaction tasks are fine) then you can focus on
testMakeStats()
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]