Skip to content

Commit

Permalink
Exclude a test that is currently failing due to WFLY-835
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Aug 12, 2015
1 parent ac3a23b commit 0e2ab1e
Showing 1 changed file with 11 additions and 9 deletions.
Expand Up @@ -16,6 +16,15 @@
*/
package org.jboss.weld.tests.builtinBeans.ee;

import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkEntityManager;
import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkEntityManagerFactory;
import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkRemoteEjb;
import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkUserTransaction;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.transaction.UserTransaction;

import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
Expand All @@ -25,19 +34,11 @@
import org.jboss.weld.test.util.Utils;
import org.jboss.weld.tests.category.Integration;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.transaction.UserTransaction;

import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkEntityManager;
import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkEntityManagerFactory;
import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkRemoteEjb;
import static org.jboss.weld.tests.builtinBeans.ee.Checker.checkUserTransaction;

@Category(Integration.class)
@RunWith(Arquillian.class)
public class EEResourceProducerFieldPassivationCapableTest {
Expand All @@ -53,6 +54,7 @@ public static Archive<?> deploy() {
}

@Test
@Ignore("WFLY-835")
public void testResource(@Produced UserTransaction userTransaction) throws Throwable {
UserTransaction userTransaction1 = Utils.deserialize(Utils.serialize(userTransaction));
Assert.assertTrue(checkUserTransaction(userTransaction1));
Expand Down

0 comments on commit 0e2ab1e

Please sign in to comment.