Skip to content

Commit 6cf14fa

Browse files
committed
fix
1 parent 0c3176f commit 6cf14fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kafka_consumer/tests/test_kafka_consumer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# (C) Datadog, Inc. 2018-present
22
# All rights reserved
33
# Licensed under Simplified BSD License (see LICENSE)
4+
import os
5+
46
import pytest
57

68
from datadog_checks.kafka_consumer import KafkaCheck
@@ -97,6 +99,7 @@ def test_no_partitions(aggregator, kafka_instance):
9799
assert_check_kafka(aggregator, {'my_consumer': {'marvel': [0]}})
98100

99101

102+
@pytest.mark.skipif(os.environ.get('KAFKA_VERSION', '').startswith('0.9'), reason='Old Kafka version')
100103
@pytest.mark.integration
101104
@pytest.mark.usefixtures('dd_environment')
102105
def test_version_metadata(datadog_agent, kafka_instance):

0 commit comments

Comments
 (0)