Author: manaRH
Date: 2009-08-13 17:47:15 -0400 (Thu, 13 Aug 2009)
New Revision: 11379
Modified:
branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java
Log:
sometimes test fail - so I increased the timeout for delay before test starts
Modified:
branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java
===================================================================
---
branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java 2009-08-13
18:18:27 UTC (rev 11378)
+++
branches/enterprise/JBPAPP_5_0/src/test/integration/src/org/jboss/seam/test/integration/MessagingTest.java 2009-08-13
21:47:15 UTC (rev 11379)
@@ -26,7 +26,7 @@
{
// need to delay a bit to make sure the messaging system is running
// really only needed when running this test in isolation
- Thread.sleep(3000);
+ Thread.sleep(5000);
}
@Test(dependsOnMethods={"delayForStartup"})
@@ -48,6 +48,7 @@
// need to delay a bit to make sure the message is delivered
// might need
Thread.sleep(2000);
+ System.out.println("HODNOTA ->" + messageText.getValue());
assert messageText.getValue().equals("message for topic");
}
Show replies by date