You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jg...@apache.org on 2022/05/30 22:55:15 UTC

[kafka] branch trunk updated: KAFKA-13946; Add missing parameter to kraft test kit `ControllerNode.setMetadataDirectory()` (#12225)

This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 31a84dd72e KAFKA-13946; Add missing parameter to kraft test kit `ControllerNode.setMetadataDirectory()` (#12225)
31a84dd72e is described below

commit 31a84dd72ee02ec54cfe4103c4c5612e95205b7d
Author: Clara Fang <68...@users.noreply.github.com>
AuthorDate: Mon May 30 18:55:07 2022 -0400

    KAFKA-13946; Add missing parameter to kraft test kit `ControllerNode.setMetadataDirectory()` (#12225)
    
    Added parameter `metadataDirectory` to `setMetadataDirectory()` so that `this.metadataDirectory` would not be set to itself.
    
    Reviewers: Kvicii <42...@users.noreply.github.com>, dengziming <de...@gmail.com>, Jason Gustafson <ja...@confluent.io>
---
 core/src/test/java/kafka/testkit/ControllerNode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/test/java/kafka/testkit/ControllerNode.java b/core/src/test/java/kafka/testkit/ControllerNode.java
index be6c8067f1..3ee2b4d081 100644
--- a/core/src/test/java/kafka/testkit/ControllerNode.java
+++ b/core/src/test/java/kafka/testkit/ControllerNode.java
@@ -27,7 +27,7 @@ public class ControllerNode implements TestKitNode {
             return this;
         }
 
-        public Builder setMetadataDirectory() {
+        public Builder setMetadataDirectory(String metadataDirectory) {
             this.metadataDirectory = metadataDirectory;
             return this;
         }