You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2026/03/14 15:06:39 UTC
[PR] fix(itests): fix flaky SystemShutdownTest by using delayed shutdown [karaf]
jbonofre opened a new pull request, #2324:
URL: https://github.com/apache/karaf/pull/2324
The test was intermittently failing with NoSuchObject/Connection refused RMI errors because the async shutdown thread could kill the OSGi framework before PaxExam received the RMI response from the test method.
Use a delayed shutdown (+1 minute) instead of immediate so the command is validated without actually halting the framework during the test. PaxExam's container teardown cleanly terminates the process before the timer fires.
Also increase ALIAS_SERVICE_TIMEOUT from 1ms to 30s so alias-based tests don't fail on loaded CI machines where command service registration takes longer.
--
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@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(itests): fix flaky SystemShutdownTest by using delayed shutdown [karaf]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #2324:
URL: https://github.com/apache/karaf/pull/2324
--
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@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org