You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2019/05/07 15:54:45 UTC

[kafka] branch trunk updated: MINOR: MetricsIntegrationTest should set StreamsConfig.STATE_DIR_CONFIG (#6687)

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

guozhang 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 8e7b57f  MINOR: MetricsIntegrationTest should set StreamsConfig.STATE_DIR_CONFIG (#6687)
8e7b57f is described below

commit 8e7b57fbcd13edcab280725bb808f232f2e60a1b
Author: Lucas Bradstreet <lu...@confluent.io>
AuthorDate: Tue May 7 08:54:32 2019 -0700

    MINOR: MetricsIntegrationTest should set StreamsConfig.STATE_DIR_CONFIG (#6687)
    
    Reviewers: John Roesler <jo...@confluent.io>, Guozhang Wang <wa...@gmail.com>
---
 .../org/apache/kafka/streams/integration/MetricsIntegrationTest.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/streams/src/test/java/org/apache/kafka/streams/integration/MetricsIntegrationTest.java b/streams/src/test/java/org/apache/kafka/streams/integration/MetricsIntegrationTest.java
index 3ce31cb..3f6c806 100644
--- a/streams/src/test/java/org/apache/kafka/streams/integration/MetricsIntegrationTest.java
+++ b/streams/src/test/java/org/apache/kafka/streams/integration/MetricsIntegrationTest.java
@@ -179,6 +179,7 @@ public class MetricsIntegrationTest {
         streamsConfiguration.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, Serdes.String().getClass());
         streamsConfiguration.put(StreamsConfig.METRICS_RECORDING_LEVEL_CONFIG, Sensor.RecordingLevel.DEBUG.name);
         streamsConfiguration.put(StreamsConfig.CACHE_MAX_BYTES_BUFFERING_CONFIG, 10 * 1024 * 1024L);
+        streamsConfiguration.put(StreamsConfig.STATE_DIR_CONFIG, TestUtils.tempDirectory().getPath());
     }
 
     @After