Skip to content

Commit 058d2ef

Browse files
committed
Ignore two tests on Wildfly due to ocpsoft#145
1 parent 85c7e74 commit 058d2ef

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎transform-minify/src/test/java/org/ocpsoft/rewrite/transform/minify/CssMinifyTest.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
import org.jboss.shrinkwrap.api.spec.JavaArchive;
2828
import org.jboss.shrinkwrap.api.spec.WebArchive;
2929
import org.junit.Test;
30+
import org.junit.experimental.categories.Category;
3031
import org.junit.runner.RunWith;
32+
import org.ocpsoft.rewrite.category.IgnoreForWildfly;
3133
import org.ocpsoft.rewrite.config.ConfigurationProvider;
3234
import org.ocpsoft.rewrite.test.HttpAction;
3335
import org.ocpsoft.rewrite.test.RewriteTest;
@@ -63,7 +65,13 @@ protected static JavaArchive getTransformArchive()
6365
return archive;
6466
}
6567

68+
/**
69+
* Ignored on Wildlfy because there seems to be some issue with the content length.
70+
*
71+
* @see https://github.com/ocpsoft/rewrite/issues/145
72+
*/
6673
@Test
74+
@Category(IgnoreForWildfly.class)
6775
public void testCssFileCompression() throws Exception
6876
{
6977
HttpAction<HttpGet> action = get("/test.css");

‎transform-minify/src/test/java/org/ocpsoft/rewrite/transform/minify/JsMinifyTest.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
import org.jboss.shrinkwrap.api.asset.StringAsset;
2424
import org.jboss.shrinkwrap.api.spec.WebArchive;
2525
import org.junit.Test;
26+
import org.junit.experimental.categories.Category;
2627
import org.junit.runner.RunWith;
28+
import org.ocpsoft.rewrite.category.IgnoreForWildfly;
2729
import org.ocpsoft.rewrite.config.ConfigurationProvider;
2830
import org.ocpsoft.rewrite.test.HttpAction;
2931
import org.ocpsoft.rewrite.test.RewriteTest;
@@ -50,7 +52,13 @@ public static WebArchive getDeployment()
5052
.addAsServiceProvider(ConfigurationProvider.class, JsMinifyTestProvider.class);
5153
}
5254

55+
/**
56+
* Ignored on Wildlfy because there seems to be some issue with the content length.
57+
*
58+
* @see https://github.com/ocpsoft/rewrite/issues/145
59+
*/
5360
@Test
61+
@Category(IgnoreForWildfly.class)
5462
public void testJavaScriptCompression() throws Exception
5563
{
5664
HttpAction<HttpGet> action = get("/test.js");

0 commit comments

Comments
 (0)