You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2017/04/19 15:17:58 UTC

kafka git commit: MINOR: Fix some re-raising of exceptions in system tests

Repository: kafka
Updated Branches:
  refs/heads/trunk 41c0f8add -> 7c436d388


MINOR: Fix some re-raising of exceptions in system tests

Author: Ewen Cheslack-Postava <me...@ewencp.org>

Reviewers: Ismael Juma <is...@juma.me.uk>

Closes #2852 from ewencp/minor-re-raise-exceptions


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/7c436d38
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/7c436d38
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/7c436d38

Branch: refs/heads/trunk
Commit: 7c436d38890083cd833091971e40f0c977993570
Parents: 41c0f8a
Author: Ewen Cheslack-Postava <me...@ewencp.org>
Authored: Wed Apr 19 16:17:53 2017 +0100
Committer: Ismael Juma <is...@juma.me.uk>
Committed: Wed Apr 19 16:17:53 2017 +0100

----------------------------------------------------------------------
 .../kafkatest/tests/client/client_compatibility_features_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/7c436d38/tests/kafkatest/tests/client/client_compatibility_features_test.py
----------------------------------------------------------------------
diff --git a/tests/kafkatest/tests/client/client_compatibility_features_test.py b/tests/kafkatest/tests/client/client_compatibility_features_test.py
index d478590..1b6519d 100644
--- a/tests/kafkatest/tests/client/client_compatibility_features_test.py
+++ b/tests/kafkatest/tests/client/client_compatibility_features_test.py
@@ -46,7 +46,7 @@ def run_command(node, cmd, ssh_log_file):
         except Exception as e:
             f.write("** Command failed!")
             print e
-            raise e
+            raise
 
 
 class ClientCompatibilityFeaturesTest(Test):
@@ -91,7 +91,7 @@ class ClientCompatibilityFeaturesTest(Test):
           run_command(node, cmd, ssh_log_file)
         except Exception as e:
           self.logger.info("** Command failed.  See %s for log messages." % ssh_log_file)
-          raise e
+          raise
 
     @parametrize(broker_version=str(DEV_BRANCH))
     @parametrize(broker_version=str(LATEST_0_10_0))