ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1524641 - /ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/AgentDeploymentTest.java
Date Thu, 19 Sep 2013 07:33:43 GMT
Author: bramk
Date: Thu Sep 19 07:33:42 2013
New Revision: 1524641

URL: http://svn.apache.org/r1524641
Log:
ACE-323 - Added sleep in itest to wait for events before assert

Modified:
    ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/AgentDeploymentTest.java

Modified: ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/AgentDeploymentTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/AgentDeploymentTest.java?rev=1524641&r1=1524640&r2=1524641&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/AgentDeploymentTest.java
(original)
+++ ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/AgentDeploymentTest.java
Thu Sep 19 07:33:42 2013
@@ -368,6 +368,8 @@ public class AgentDeploymentTest extends
         // If we install a newer version, it should succeed...
         expectSuccessfulDeployment(m_package6, null);
 
+        TimeUnit.SECONDS.sleep(2); // sleep a little while to receive async events..
+        
         // Check our event log, should contain all handled events...
         Map<String, List<Map<String, String>>> topics = m_listener.getTopics();
 



Mime
View raw message