soarez commented on code in PR #15409:
URL: https://github.com/apache/kafka/pull/15409#discussion_r1497794379


##########
tests/kafkatest/tests/core/log_dir_failure_test.py:
##########
@@ -84,20 +84,25 @@ def __init__(self, test_context):
         self.num_consumers = 1
 
     def setUp(self):
-        self.zk.start()
+        if self.zk:
+            self.zk.start()
 
     def min_cluster_size(self):
         """Override this since we're adding services outside of the 
constructor"""
         return super(LogDirFailureTest, self).min_cluster_size() + 
self.num_producers * 2 + self.num_consumers * 2
 
-    @cluster(num_nodes=9)
-    @matrix(bounce_broker=[False, True], broker_type=["leader", "follower"], 
security_protocol=["PLAINTEXT"])
-    def test_replication_with_disk_failure(self, bounce_broker, 
security_protocol, broker_type):
+    @cluster(num_nodes=8)
+    @matrix(bounce_broker=[False, True], broker_type=["leader", "follower"], 
security_protocol=["PLAINTEXT"], metadata_quorum=[quorum.zk])
+    @cluster(num_nodes=7)
+    @matrix(bounce_broker=[False, True], broker_type=["leader", "follower"], 
security_protocol=["PLAINTEXT"], metadata_quorum=[quorum.combined_kraft])

Review Comment:
   Unsure about the value of repeating the tests for `quorum.combined_kraft`, 
this mode isn't recommended for production, it's easier to cover it in java 
integration tests and makes this suite slower.



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