You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/05/30 23:04:44 UTC

[GitHub] [kafka] hachikuji commented on a diff in pull request #12120: Add mini test

hachikuji commented on code in PR #12120:
URL: https://github.com/apache/kafka/pull/12120#discussion_r885104060


##########
tests/kafkatest/tests/core/mini_test.py:
##########
@@ -0,0 +1,18 @@
+from ducktape.tests.test import Test
+from ducktape.mark.resource import cluster
+
+from kafkatest.services.zookeeper import ZookeeperService
+from kafkatest.services.kafka import KafkaService
+
+
+class MiniTest(Test):
+    def __init__(self, test_context):
+        super(MiniTest, self).__init__(test_context=test_context)
+
+        self.zk = ZookeeperService(test_context, 1)
+        self.kafka = KafkaService(test_context, 1, self.zk)
+
+    @cluster(num_nodes=2)
+    def test(self):
+        self.zk.start()

Review Comment:
   If it's just as well, could we use kraft instead, or alternatively provide two parameterizations?



-- 
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: jira-unsubscribe@kafka.apache.org

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