This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
     new 657878a  Revert "TOMEE-2506 this test is now passing"
657878a is described below

commit 657878adb926af83cd59f592e2c53c3f8cd4b9a0
Author: Jonathan Gallimore <j...@jrg.me.uk>
AuthorDate: Mon Sep 2 20:22:44 2019 +0100

    Revert "TOMEE-2506 this test is now passing"
    
    This reverts commit 5596d1d624187f0b572a09d2293e972317645426.
---
 .../openejb/arquillian/tests/jms/JMSContextInjectionTest.java     | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/arquillian/arquillian-tomee-tests/arquillian-tomee-jms-tests/src/test/java/org/apache/openejb/arquillian/tests/jms/JMSContextInjectionTest.java
 
b/arquillian/arquillian-tomee-tests/arquillian-tomee-jms-tests/src/test/java/org/apache/openejb/arquillian/tests/jms/JMSContextInjectionTest.java
index 744ca2f..3d49c49 100644
--- 
a/arquillian/arquillian-tomee-tests/arquillian-tomee-jms-tests/src/test/java/org/apache/openejb/arquillian/tests/jms/JMSContextInjectionTest.java
+++ 
b/arquillian/arquillian-tomee-tests/arquillian-tomee-jms-tests/src/test/java/org/apache/openejb/arquillian/tests/jms/JMSContextInjectionTest.java
@@ -21,6 +21,7 @@ import org.jboss.arquillian.junit.Arquillian;
 import org.jboss.arquillian.test.api.ArquillianResource;
 import org.jboss.shrinkwrap.api.ShrinkWrap;
 import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -31,6 +32,7 @@ import java.net.URL;
 
 import static org.junit.Assert.assertEquals;
 
+@Ignore // we know these are failing
 @RunWith(Arquillian.class)
 public class JMSContextInjectionTest {
 
@@ -46,18 +48,18 @@ public class JMSContextInjectionTest {
     @Resource
     private ConnectionFactory connectionFactory;
 
-    @Deployment
+    @Deployment(testable = false)
     public static WebArchive getArchive() {
 
         return ShrinkWrap.create(WebArchive.class, "jms-context.war")
-                .addClasses(JMSContextInjectionTest.class, 
JMSSenderBean.class, JMSReceiverBean.class, MessageCounter.class);
+                .addClasses(JMSSenderBean.class, JMSReceiverBean.class, 
MessageCounter.class);
     }
 
     @Test
     public void testShouldSendAndReceiveTwoHundredMessages() throws Exception {
         messageCounter.reset();
 
-        for (int i = 0; i <= 200; i++) {
+        for (int i = 0; i < 200; i++) {
             senderBean.sendToQueue("test", "Hello world");
         }
 

Reply via email to