From 7e474c9136ef2d99299fa257b0ecfa12872bc3b8 Mon Sep 17 00:00:00 2001 From: Tibor Varkonyi Date: Wed, 6 Jun 2018 15:36:55 +0200 Subject: [PATCH] Get context errors before tearing down test --- ducktape/tests/runner_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ducktape/tests/runner_client.py b/ducktape/tests/runner_client.py index 3a7a94c4e..07afd18df 100644 --- a/ducktape/tests/runner_client.py +++ b/ducktape/tests/runner_client.py @@ -142,11 +142,11 @@ def run(self): summary += err_trace finally: + service_errors = self.test_context.services.errors() self.teardown_test(teardown_services=not self.session_context.no_teardown, test_status=test_status) stop_time = time.time() - service_errors = self.test_context.services.errors() if service_errors: summary += "\n\n" + service_errors