Author: orudyy
Date: Tue Feb 23 10:29:40 2016
New Revision: 1731833

URL: http://svn.apache.org/viewvc?rev=1731833&view=rev
Log:
NO-JIRA: Increase wait timeout in Qpid REST system tests to avoid sporadic test 
failures on slow environments

Modified:
    
qpid/java/trunk/systests/src/main/java/org/apache/qpid/systest/rest/QpidRestTestCase.java

Modified: 
qpid/java/trunk/systests/src/main/java/org/apache/qpid/systest/rest/QpidRestTestCase.java
URL: 
http://svn.apache.org/viewvc/qpid/java/trunk/systests/src/main/java/org/apache/qpid/systest/rest/QpidRestTestCase.java?rev=1731833&r1=1731832&r2=1731833&view=diff
==============================================================================
--- 
qpid/java/trunk/systests/src/main/java/org/apache/qpid/systest/rest/QpidRestTestCase.java
 (original)
+++ 
qpid/java/trunk/systests/src/main/java/org/apache/qpid/systest/rest/QpidRestTestCase.java
 Tue Feb 23 10:29:40 2016
@@ -92,7 +92,7 @@ public class QpidRestTestCase extends Qp
     public Map<String, Object> waitForAttributeChanged(String url, String 
attributeName, Object newValue) throws Exception
     {
         List<Map<String, Object>> nodeAttributes = 
getAttributesIgnoringNotFound(url);
-        int timeout = 5000;
+        int timeout = 30000;
         long limit = System.currentTimeMillis() + timeout;
         while(System.currentTimeMillis() < limit && (nodeAttributes.size() == 
0 || !newValue.equals(nodeAttributes.get(0).get(attributeName))))
         {



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

Reply via email to