You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Sorin Suciu (JIRA)" <qp...@incubator.apache.org> on 2010/07/29 15:27:15 UTC

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

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


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


[jira] Resolved: (QPID-2775) use JMX to reload the security configuration for FirewallConfigTest

Posted by "Sorin Suciu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sorin Suciu resolved QPID-2775.
-------------------------------

    Resolution: Fixed

> use JMX to reload the security configuration 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
>            Assignee: Robbie Gemmell
>             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


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

Posted by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org>.
    [ 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


[jira] Updated: (QPID-2775) use JMX to reload the security configuration for FirewallConfigTest

Posted by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-2775:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> use JMX to reload the security configuration 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
>            Assignee: Robbie Gemmell
>             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


[jira] Updated: (QPID-2775) use JMX to reload the security configuration for FirewallConfigTest

Posted by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-2775:
---------------------------------

     Summary: use JMX to reload the security configuration for FirewallConfigTest  (was: Increase the timeout interval for FirewallConfigTest)
    Assignee: Robbie Gemmell

> use JMX to reload the security configuration 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
>            Assignee: Robbie Gemmell
>             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


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

Posted by "Sorin Suciu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sorin Suciu updated QPID-2775:
------------------------------

    Attachment: qpid-2775.patch

> 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


[jira] Closed: (QPID-2775) use JMX to reload the security configuration for FirewallConfigTest

Posted by "Sorin Suciu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sorin Suciu closed QPID-2775.
-----------------------------


> use JMX to reload the security configuration 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
>            Assignee: Robbie Gemmell
>             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