[seam-issues] [JBoss JIRA] (SEAMJMS-62) TopicBuilderImplTest, QueueBuilderImplTest fails on AS7

John Ament (Commented) (JIRA) jira-events at lists.jboss.org
Tue Dec 13 22:32:09 EST 2011


    [ https://issues.jboss.org/browse/SEAMJMS-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650722#comment-12650722 ] 

John Ament commented on SEAMJMS-62:
-----------------------------------

I think something else is wrong, outside of JMS.  I created a test case for Arquillian to run, and it still failed, even though this is a very basic use case of JMS and does not use any CDI capabilities.

		String data = "new data";
                Connection conn = cf.createConnection();
                Session session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
                TextMessage tm = session.createTextMessage();
                tm.setText(data);
                MessageProducer mp = session.createProducer(t1);
                MessageConsumer mc = session.createConsumer(t1);
                mp.send(tm);
                Message m = mc.receive(10000);
                Assert.assertNotNull(m);
                DeploymentFactory.pause(1000000);

I noticed that the DeploymentFactory.pause is being ignored.
                
> TopicBuilderImplTest, QueueBuilderImplTest fails on AS7
> -------------------------------------------------------
>
>                 Key: SEAMJMS-62
>                 URL: https://issues.jboss.org/browse/SEAMJMS-62
>             Project: Seam JMS
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 3.1.0.CR1
>            Reporter: Marek Schmidt
>            Assignee: John Ament
>             Fix For: 3.1.0.Final
>
>
> Failed tests:   testSendMap(org.jboss.seam.jms.test.builder.topic.TopicBuilderImplTest): expected:<true> but was:<false>
>   testSendString(org.jboss.seam.jms.test.builder.topic.TopicBuilderImplTest): expected:<true> but was:<false>
>   testSendObject(org.jboss.seam.jms.test.builder.topic.TopicBuilderImplTest): expected:<true> but was:<false>
>   testSendMap(org.jboss.seam.jms.test.builder.queue.QueueBuilderImplTest): expected:<true> but was:<false>
>   testSendString(org.jboss.seam.jms.test.builder.queue.QueueBuilderImplTest): expected:<true> but was:<false>
>   testSendObject(org.jboss.seam.jms.test.builder.queue.QueueBuilderImplTest): expected:<true> but was:<false>
> Tests run: 69, Failures: 6, Errors: 0, Skipped: 2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list