You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org> on 2010/08/09 22:32:15 UTC

[jira] Commented: (QPID-2775) Increase the timeout interval for FirewallConfigTest

    [ https://issues.apache.org/jira/browse/QPID-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896682#action_12896682 ] 

Robbie Gemmell commented on QPID-2775:
--------------------------------------

I just saw this fail on one of my machines, whcih isnt all that slow. The issue is that the configuration is reloaded asynchronously by starting another process to SIGHUP the broker and then immediately waiting for the log entry to appear. The configuration reload now takes longer than it used to, occasionally exceeding the timeout. Simply increasing the timeout just leaves us open to the same happening in future or even now on much slower machines. Additionally, the attached patch manipulates the static timeout variable during the test runs and so ends up altering the value for all subsequent tests as well.

There has long been a //FIXME in the associated QBTC method which performs the reload indicating that it should instead use the JMX interface to undertake the task. I have just updated it to do so, which should resolve the issue as the reload is now synchronous and the timeout should now be purely for the log file processing, as with other logging tests.

> Increase the timeout interval for FirewallConfigTest
> ----------------------------------------------------
>
>                 Key: QPID-2775
>                 URL: https://issues.apache.org/jira/browse/QPID-2775
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Sorin Suciu
>             Fix For: 0.7
>
>         Attachments: qpid-2775.patch
>
>
> Sometimes this test fails when ran on slow machines. Therefore it would help to increase the timeout. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org