Skip to content

Commit bead350

Browse files
committed
Fixup pytest run w/o KAFKA_VERSION
1 parent 47156c3 commit bead350

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_consumer_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def test_kafka_consumer_offsets_search_many_partitions(kafka_consumer, kafka_pro
276276
}
277277

278278

279+
@pytest.mark.skipif(not env_kafka_version(), reason="No KAFKA_VERSION set")
279280
@pytest.mark.skipif(env_kafka_version() >= (0, 10, 1), reason="Requires KAFKA_VERSION < 0.10.1")
280281
def test_kafka_consumer_offsets_for_time_old(kafka_consumer, topic):
281282
consumer = kafka_consumer

0 commit comments

Comments
 (0)