[
http://jira.jboss.com/jira/browse/JBAS-3444?page=all ]
Anil Saldhana resolved JBAS-3444.
---------------------------------
Resolution: Done
The tests have to be in sync across the branches. Because the tmp message destinations
were removed from the jboss instance (in HEAD) and were moved to a service file in the
testsuite, this service file needs to be part of the all config before the tests start.
I have fixed this.
org.jboss.test.naming.test.ENCUnitTestCase ends with errors
-----------------------------------------------------------
Key: JBAS-3444
URL:
http://jira.jboss.com/jira/browse/JBAS-3444
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-5.0.0.Beta
Environment: win xp
Reporter: Jaroslaw Kijanowski
Assigned To: Anil Saldhana
org.jboss.test.naming.test.ENCUnitTestCase ends with two errors, because nessesary queues
and topics aren't present for the "all" instance.
ENCUnitTestCase calls accessENC() method in org.jboss.test.naming.ejb.TestEncBean.java.
The last two methods of the if-block (testResourceEnvEntries and
testMessageDestinationRefs) cause NameNotFoundException: testQueue not bound.
They try to use the queues "res/aQueue" and
"mdr/ConsumesProducesJNDIName". These queues are "mapped" in the
jboss-head/testsuite/src/resources/naming/jar/META-INF/jboss.xml to
"queue/testQueue" and "queue/A", but these two queues don't
exist.
The last method (testMessageDestinationRefs) try to use also the topic
"mdr/ProducesLink", which is "mapped" in
jboss-head/testsuite/src/resources/naming/jar/META-INF/ejb-jar.xml to
"TestTopic" which is "mapped" in
jboss-head/testsuite/src/resources/naming/jar/META-INF/jboss.xml to
"topic/testTopic" cause an errror, because the tpic isnt't present too.
To fix these errors:
uncomment the two queues "testQueue" and "A" and the first topic
"testTopic" in:
jboss-head\build\output\jboss-5.0.0.Beta\server\all\deploy-hasingleton\jms\jbossmq-destinations-service.xml
--
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