[jboss-cvs] JBossAS SVN: r64557 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/timer/unit.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Aug 13 11:16:25 EDT 2007
Author: wolfc
Date: 2007-08-13 11:16:25 -0400 (Mon, 13 Aug 2007)
New Revision: 64557
Modified:
branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/timer/unit/RemoteUnitTestCase.java
Log:
EJBTHREE-1027: expanded unit test message
Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/timer/unit/RemoteUnitTestCase.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/timer/unit/RemoteUnitTestCase.java 2007-08-13 10:31:18 UTC (rev 64556)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/timer/unit/RemoteUnitTestCase.java 2007-08-13 15:16:25 UTC (rev 64557)
@@ -90,11 +90,11 @@
test.startTimer(5000);
test.accessTimer();
Thread.sleep(6000);
- assertFalse(test.isTimerCalled());
+ assertFalse("EJBTHREE-1027: timer should not have been called", test.isTimerCalled());
test.startTimerViaEJBContext(5000);
test.accessTimer();
Thread.sleep(6000);
- assertFalse(test.isTimerCalled());
+ assertFalse("EJBTHREE-1027: timer should not have been called", test.isTimerCalled());
}
// EJBTHREE-1027
@@ -110,7 +110,7 @@
long wait = 1000 + (when - System.currentTimeMillis());
if(wait > 0)
Thread.sleep(wait);
- assertFalse(test.isTimerCalled());
+ assertFalse("EJBTHREE-1027: timer should not have been called", test.isTimerCalled());
}
public void testService() throws Exception
More information about the jboss-cvs-commits
mailing list