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/26 00:37:07 UTC

[kafka] branch trunk updated: MINOR: Collect metadata log dir in kraft system tests (#12215)

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 02fc6e7d3c MINOR: Collect metadata log dir in kraft system tests (#12215)
02fc6e7d3c is described below

commit 02fc6e7d3ca6875251ee6974a62c826b186dcaf0
Author: Jason Gustafson <ja...@confluent.io>
AuthorDate: Wed May 25 17:36:58 2022 -0700

    MINOR: Collect metadata log dir in kraft system tests (#12215)
    
    It is useful to collect the directory for `__cluster_metadata` in system tests. We use a separate directory from user partitions, so it must be configured separately.
    
    Reviewers: David Arthur <mu...@gmail.com>
---
 tests/kafkatest/services/kafka/kafka.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/kafkatest/services/kafka/kafka.py b/tests/kafkatest/services/kafka/kafka.py
index bb7297475e..433efdf805 100644
--- a/tests/kafkatest/services/kafka/kafka.py
+++ b/tests/kafkatest/services/kafka/kafka.py
@@ -183,6 +183,9 @@ class KafkaService(KafkaPathResolverMixin, JmxMixin, Service):
         "kafka_data_2": {
             "path": DATA_LOG_DIR_2,
             "collect_default": False},
+        "kafka_cluster_metadata": {
+            "path": METADATA_LOG_DIR,
+            "collect_default": False},
         "kafka_heap_dump_file": {
             "path": HEAP_DUMP_FILE,
             "collect_default": True}