pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jiazhai closed pull request #2645: [tests] ignore exceptions during shutting down test cases
Date Tue, 25 Sep 2018 08:43:04 GMT
jiazhai closed pull request #2645: [tests] ignore exceptions during shutting down test cases
URL: https://github.com/apache/pulsar/pull/2645
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerBkEnsemblesTests.java
b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerBkEnsemblesTests.java
index 94b2226ae9..7a068234c6 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerBkEnsemblesTests.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerBkEnsemblesTests.java
@@ -125,8 +125,7 @@ protected void shutdown() throws Exception {
             pulsar.close();
             bkEnsemble.stop();
         } catch (Throwable t) {
-            LOG.error("Error cleaning up broker test setup state", t);
-            Assert.fail("Broker test cleanup failed");
+            LOG.warn("Error cleaning up broker test setup state", t);
         }
     }
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message