You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2019/07/05 20:31:26 UTC

[GitHub] [qpid-dispatch] ChugR opened a new pull request #534: DISPATCH-1383: Policy tests hanging on some platforms - init race

ChugR opened a new pull request #534: DISPATCH-1383: Policy tests hanging on some platforms - init race
URL: https://github.com/apache/qpid-dispatch/pull/534
 
 
   Policy tests have a subclass of FakeBroker.
   At the start of subclass init the code calls FakeBroker init.
   FakeBroker init starts a thread that runs the main loop.
   
   In the failing cases the FakeBroker main loop runs before the
   sublcasses complete their init functions. Then the main loop
   fails because class variables don't exist yet.
   
   The fix is to defer running FakeBroker init until the end of subclass init.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org