You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/10/07 22:53:58 UTC

[GitHub] [pulsar] merlimat opened a new pull request #5331: Avoid rethrowing exception during test teardown

merlimat opened a new pull request #5331: Avoid rethrowing exception during test teardown
URL: https://github.com/apache/pulsar/pull/5331
 
 
   ### Motivation
   
   In several cases, the test get stuck on the broker teardown. Do not re-throw the exception here, since the test logic itself was already successful.
   
   
   ```
   20:18:36.507 [main:org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest@176] WARN  org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest - Failed to clean up mocked pulsar service:
   org.apache.pulsar.broker.PulsarServerException: org.apache.pulsar.broker.PulsarServerException: java.util.concurrent.TimeoutException
   	at org.apache.pulsar.broker.PulsarService.close(PulsarService.java:319) ~[classes/:?]
   	at org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest.internalCleanup(MockedPulsarServiceBaseTest.java:161) [test-classes/:?]
   	at org.apache.pulsar.broker.admin.NamespacesTest.cleanup(NamespacesTest.java:173) [test-classes/:?]
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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