diff --git a/tests/kafkatest/tests/produce_consume_validate.py b/tests/kafkatest/tests/produce_consume_validate.py index 9240f322c79..801ccde2e4e 100644 --- a/tests/kafkatest/tests/produce_consume_validate.py +++ b/tests/kafkatest/tests/produce_consume_validate.py @@ -102,7 +102,7 @@ class ProduceConsumeValidateTest(Test): except BaseException as e: for s in self.test_context.services: self.mark_for_collect(s) - raise e + raise @staticmethod def annotate_missing_msgs(missing, acked, consumed, msg):