DivyanshIITB commented on code in PR #14335:
URL: https://github.com/apache/lucene/pull/14335#discussion_r1998648834


##########
lucene/core/src/test/org/apache/lucene/index/TestMultiTenantMergeScheduler.java:
##########
@@ -0,0 +1,30 @@
+package org.apache.lucene.index;
+
+import org.apache.lucene.store.Directory;
+import org.apache.lucene.store.RAMDirectory;
+import org.apache.lucene.analysis.standard.StandardAnalyzer;
+import org.apache.lucene.document.Document;
+import org.apache.lucene.document.TextField;
+import org.apache.lucene.util.LuceneTestCase;
+
+public class TestMultiTenantMergeScheduler extends LuceneTestCase {
+
+    public void testMultiTenantMergeScheduler() throws Exception {

Review Comment:
   Thanks for the feedback! I’ve expanded the test suite to include multiple 
writers consuming the scheduler, different merge scheduling times, and 
staggered start/close behavior. Also, I’ve referred to 
TestConcurrentMergeScheduler for structuring test cases to verify concurrency. 
Let me know if you have additional suggestions!



-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to