Although the mdb unit test seems to run fine against a newly started server,
I can get it fail consistently by running the mdb test in a loop. Ultimately
it
gets to a point where an attempt to send 10 msgs locks up and the test
timesout. The server is typically pretty messed up at this point and a
Ctrl-c
fails to bring it down cleanly and leaves the vm running in the background
and
it has to be killed. This is running the latest jbosstest code against the
latest
jboss code.

build 1083>while ant -buildfile run_tests.xml -Dtestcase=mdb run-testcase;
do date; sleep 10; done

Buildfile: run_tests.xml

run-testcase:
    [junit] Deploying...
    [junit] Deploying: ../deploy/mdb.jar...Done
    [junit]
    [junit] ---- Testing method testObjectMessage for destination
    [junit] TestQueue: Sending 10 messages 1-10
    [junit]
    [junit] ---- Testing method testQueue for destination queue/testQueue
    [junit] TestQueue: queue/testQueue Sending 10 messages 1-10
    [junit]
    [junit] ---- Testing method testTopic for destination topic/testTopic
    [junit] TestTopic: topic/testTopic: Sending 10st messages 1-10
    [junit]
    [junit] ---- Testing method testTopic for destination
topic/testDurableTopic

    [junit] TestTopic: topic/testDurableTopic: Sending 10st messages 1-10
    [junit]
    [junit] ---- Testing method testQueue for destination queue/ex
    [junit] TestQueue: queue/ex Sending 10 messages 1-10
    [junit] Undeploying: ../deploy/mdb.jar...Done
    [junit] Testsuite: org.jboss.test.mdb.test.Main
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 3 sec
    [junit]
    [junit] Testcase: testObjectMessage took 1.922 sec
    [junit] Testcase: testQueue took 0.125 sec
    [junit] Testcase: testTopic took 0.296 sec
    [junit] Testcase: testTopic took 0.125 sec
    [junit] Testcase: testQueue took 0.188 sec
    [junit] Testcase: undeploy took 0.344 sec

BUILD SUCCESSFUL

Total time: 7 seconds
Sun Jul  8 18:49:32  2001
...

Buildfile: run_tests.xml

run-testcase:
    [junit] Deploying...
    [junit] Deploying: ../deploy/mdb.jar...Done
    [junit]
    [junit] ---- Testing method testObjectMessage for destination
    [junit] TestQueue: Sending 10 messages 1-10
    [junit] TEST org.jboss.test.mdb.test.Main FAILED

BUILD SUCCESSFUL

Total time: 2 minutes 1 second
Sun Jul  8 18:51:45  2001


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to