[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-500) Intermittent race in BrowserTest::testBrowse

Tim Fox (JIRA) jira-events at jboss.com
Tue Aug 8 06:33:12 EDT 2006


Intermittent race in BrowserTest::testBrowse
--------------------------------------------

                 Key: JBMESSAGING-500
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-500
             Project: JBoss Messaging
          Issue Type: Bug
            Reporter: Tim Fox
         Assigned To: Tim Fox
             Fix For: 1.0.1.CR4


.main 11:29:38,156 INFO  [BrowserTest] ####################################################### Start IN-VM test: testBrowse
main 11:29:38,161 INFO  [ServerManagement] IN-VM TEST
main 11:29:39,759 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:/DefaultDS'
main 11:29:40,094 INFO  [ServiceContainer] remoting = "socket", serialization = "", database = "hsqldb"
main 11:29:40,562 WARN  [JDBCPersistenceManager]

JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
                         Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
                         Using an isolation level more strict than READ_COMMITTED may lead to deadlock.

main 11:29:41,066 INFO  [ServerPeer] JBoss Messaging 1.0.1.CR4 server [server.0] started
main 11:29:41,483 INFO  [ConnectionFactory] Connector socket://localhost:9111 has leasing enabled, lease period 20000 milliseconds
main 11:29:41,484 INFO  [ConnectionFactory] [/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory] deployed
main 11:29:41,568 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JCAConnectionFactory' to JNDI name 'java:/JCAConnectionFactory'
main 11:29:41,569 INFO  [LocalTestServer] server started
main 11:29:41,661 INFO  [Queue] Queue[/queue/Queue] started, fullSize=75000, pageSize=2000, downCacheSize=2000
main 11:29:43,235 INFO  [Queue] Queue[/queue/Queue] stopped
main 11:29:43,238 INFO  [BrowserTest] ####################################################### Stop IN-VM test: testBrowse
F
Time: 5.09
There was 1 failure:
1) testBrowse(org.jboss.test.messaging.jms.BrowserTest)junit.framework.AssertionFailedError: expected:<0> but was:<1>
        at org.jboss.test.messaging.jms.BrowserTest.testBrowse(BrowserTest.java:207)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at org.jboss.test.messaging.tools.junit.SelectiveTestRunner.main(SelectiveTestRunner.java:58)

FAILURES!!!
Tests run: 1,  Failures: 1,  Errors: 0

Only manifests on dual processor/dual core

Need to run test around 20 times to reproduce

-- 
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