1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Do not test integration
This test is failing as his setup is trying to run kafka-server locally :
INFO:test.service: /<<PKGBUILDDIR>>/servers/0.11.0.2/kafka-bin/bin/kafka-run-class.sh
FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/servers/0.11.0.2/kafka-bin/bin/kafka-run-class.sh'
This patch is adding pytest decorator to skip
this test.
Author: Michal Arbet <michal.arbet@ultimum.io>
Forwarded: no
Last-Update: 2020-04-30
Index: python-kafka/test/test_consumer_integration.py
===================================================================
--- python-kafka.orig/test/test_consumer_integration.py
+++ python-kafka/test/test_consumer_integration.py
@@ -276,6 +276,7 @@ def test_kafka_consumer_offsets_search_m
@pytest.mark.skipif(env_kafka_version() >= (0, 10, 1), reason="Requires KAFKA_VERSION < 0.10.1")
+@pytest.mark.skip(reason="Skip integration test")
def test_kafka_consumer_offsets_for_time_old(kafka_consumer, topic):
consumer = kafka_consumer
tp = TopicPartition(topic, 0)
|