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/07/06 23:34:35 UTC

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

stan-confluent commented on code in PR #12120:
URL: https://github.com/apache/kafka/pull/12120#discussion_r915331214


##########
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:
   Yeah, sorry, this slipped my radar. It's a good idea, I'll add it - but how can we push this PR to older versions if it has kraft? Would it have to be a separate PR for older versions?



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