[jboss-jira] [JBoss JIRA] Closed: (JBAS-3738) On Windows: timer.test.BasicTimerUnitTestCase fails

Dimitris Andreadis (JIRA) jira-events at jboss.com
Wed Oct 4 05:38:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3738?page=all ]

Dimitris Andreadis closed JBAS-3738.
------------------------------------

    Fix Version/s: JBossAS-5.0.0.Beta
       Resolution: Done

I've increased the message receive timeout by %50 in testMDBTimer() and testOnCreateMDBTimer(), so trasient failures should be very rare now.

Nevertheless testOnCreateMDBTimer() reads back 10 message in a loop using this timeout, so if the test takes too long, we may have to reduce the timeout again.

> On Windows: timer.test.BasicTimerUnitTestCase fails
> ---------------------------------------------------
>
>                 Key: JBAS-3738
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3738
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>         Environment: Windows 2003, Sun JDK1.4
>            Reporter: Prabhat Jha
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta
>
>
> Test Class: org.jboss.test.timer.test.BasicTimerUnitTestCase
> Test Name: testMDBTimer
> Message property 'UNIQUE_ID' not set.
> java.lang.NumberFormatException: Message property 'UNIQUE_ID' not set.
> 	at org.jboss.mq.SpyMessage.getIntProperty(SpyMessage.java:581)
> 	at org.jboss.test.timer.test.BasicTimerUnitTestCase.testMDBTimer(BasicTimerUnitTestCase.java:332)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list