From 49b65c53a04a0672a79a2b027dd2503674e25b50 Mon Sep 17 00:00:00 2001 From: javferrod Date: Sat, 20 May 2023 13:57:15 +0200 Subject: [PATCH] fix(confluent-kafka): Removed non relevant argument in poll --- .../tests/test_instrumentation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py b/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py index f1016e7460..e47d43cdcb 100644 --- a/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py +++ b/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py @@ -176,10 +176,10 @@ def test_poll(self) -> None: ) span_list = self.memory_exporter.clear() consumer = instrumentation.instrument_consumer(consumer) - consumer.poll(1) - consumer.poll(1) - consumer.poll(1) - consumer.poll(1) + consumer.poll() + consumer.poll() + consumer.poll() + consumer.poll() span_list = self.memory_exporter.get_finished_spans() self._compare_spans(span_list, expected_spans)