kfaraz commented on code in PR #18108:
URL: https://github.com/apache/druid/pull/18108#discussion_r2137657715


##########
server/src/test/java/org/apache/druid/metadata/TestDerbyConnector.java:
##########
@@ -178,6 +178,17 @@ public PendingSegmentsTable pendingSegments()
     {
       return new PendingSegmentsTable(this);
     }
+
+    public void beforeBenchmark()
+    {
+      before();
+    }
+
+    public void afterBenchmark()
+    {
+      this.getConnector().deleteAllSegmentRecords();
+      after();
+    }

Review Comment:
   We can avoid having these methods. Just make `before` and `after` public if 
needed. Alternatively, we can just use the `TestDerbyConnector` directly.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to