keith-turner commented on code in PR #4239:
URL: https://github.com/apache/accumulo/pull/4239#discussion_r1484584840


##########
test/src/main/java/org/apache/accumulo/test/functional/ManyWriteAheadLogsIT.java:
##########
@@ -92,8 +93,32 @@ public void alterConfig() throws Exception {
    * not single tablet references a lot of write ahead logs. Want to ensure 
the tablet server forces
    * minor compactions for this situation.
    */
-  @Test
-  public void testMany() throws Exception {
+  @ParameterizedTest
+  @ValueSource(strings = {"TSERVER", "SSERVER", "COMPACTOR", "ALL"})
+  public void testMany(String testType) throws Exception {
+
+    switch (testType) {
+      case "TSERVER":
+        // Stop everything but the tablet server
+        getClusterControl().stopAllServers(ServerType.COMPACTOR);
+        getClusterControl().stopAllServers(ServerType.SCAN_SERVER);
+        break;
+      case "SSERVER":
+        // Stop everything but the scan server
+        getClusterControl().stopAllServers(ServerType.TABLET_SERVER);

Review Comment:
   How do the batch writes done later work if all tservers are stopped?



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

Reply via email to