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 2022/04/22 04:01:55 UTC

[GitHub] [pulsar] lhotari opened a new pull request, #15266: Fix flaky test AdminApiHealthCheckTest. Wait for deadlocked status to clear before continuing

lhotari opened a new pull request, #15266:
URL: https://github.com/apache/pulsar/pull/15266

   ### Motivation
   
   AdminApiHealthCheckTest is now flaky after adding the unit test for detecting deadlocks in the health check (#15155).
   The `ManagementFactory.getThreadMXBean().findDeadlockedThreads()` seems to do some caching internally so the test should wait until the deadlocked status clears off before continuing to the next test.
   
   ### Modifications
   
   Use Awaitility to wait until the  `ManagementFactory.getThreadMXBean().findDeadlockedThreads()` doesn't report a deadlock.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lhotari merged pull request #15266: Fix flaky test AdminApiHealthCheckTest. Wait for deadlocked status to clear before continuing

Posted by GitBox <gi...@apache.org>.
lhotari merged PR #15266:
URL: https://github.com/apache/pulsar/pull/15266


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org