Skip to content

Commit 8eabcd7

Browse files
committed
Testing deployment errors doesn't work with Wildfly and Glassfish
1 parent 2e20c18 commit 8eabcd7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎impl-servlet-tests/src/test/java/org/ocpsoft/rewrite/servlet/config/ConfigurationDeploymentTest.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,21 @@
2121
import org.jboss.shrinkwrap.api.asset.StringAsset;
2222
import org.jboss.shrinkwrap.api.spec.WebArchive;
2323
import org.junit.Test;
24+
import org.junit.experimental.categories.Category;
2425
import org.junit.runner.RunWith;
26+
import org.ocpsoft.rewrite.category.IgnoreForGlassfish3;
27+
import org.ocpsoft.rewrite.category.IgnoreForWildfly;
2528
import org.ocpsoft.rewrite.servlet.ServletRoot;
2629
import org.ocpsoft.rewrite.test.RewriteTest;
2730

2831
/**
32+
* Wee skip this test for Wildfly and Glassfish, because the Arquillian adapters doesn't handle deployment errors
33+
* correctly.
34+
*
2935
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
3036
*/
3137
@RunWith(Arquillian.class)
38+
@Category({ IgnoreForWildfly.class, IgnoreForGlassfish3.class })
3239
public class ConfigurationDeploymentTest
3340
{
3441
@Deployment(testable = false)

0 commit comments

Comments
 (0)