[ 
https://issues.apache.org/jira/browse/DISPATCH-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880388#comment-16880388
 ] 

ASF subversion and git services commented on DISPATCH-1383:
-----------------------------------------------------------

Commit f22766996be12f5a0d6b388d04be6d7ccad1eb80 in qpid-dispatch's branch 
refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=f227669 ]

DISPATCH-1383: Policy tests hanging on some platforms - init race

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 closes #534


> system_tests_policy is timing out
> ---------------------------------
>
>                 Key: DISPATCH-1383
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1383
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.8.0
>            Reporter: Fernando Giorgetti
>            Assignee: Chuck Rolke
>            Priority: Major
>
> We are seeing system_tests_policy timing out on RHEL6, RHEL7 and RHEL8 
> platforms.
> This is happening with latest bits from master branch and latest proton 
> (downstream). 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to