Skip to content

Commit

Permalink
Re-enable GZIP module tests (#11450)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel authored Feb 27, 2024
1 parent bb646ed commit 06d4b6f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.tests.testers.JettyHomeTester;
import org.eclipse.jetty.tests.testers.Tester;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

Expand All @@ -31,7 +30,6 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@Disabled //TODO gzip module broken
public class GzipModuleTests extends AbstractJettyHomeTest
{
@ParameterizedTest
Expand Down Expand Up @@ -76,7 +74,7 @@ public void testGzipDefault(String env) throws Exception
}
}
}

@ParameterizedTest
@ValueSource(strings = {"ee9", "ee10"})
public void testGzipDefaultExcludedMimeType(String env) throws Exception
Expand Down Expand Up @@ -147,7 +145,7 @@ public void testGzipAddWebappSpecificExcludeMimeType(String env) throws Exceptio
"jetty.gzip.excludedMimeTypeList=image/vnd.microsoft.icon"
};

Path war = distribution.resolveArtifact("org.eclipse.jetty." + env + " .demos:jetty-" + env + "-demo-simple-webapp:war:" + jettyVersion);
Path war = distribution.resolveArtifact("org.eclipse.jetty." + env + ".demos:jetty-" + env + "-demo-simple-webapp:war:" + jettyVersion);
distribution.installWar(war, "demo");

try (JettyHomeTester.Run runStart = distribution.start(argsStart))
Expand Down

0 comments on commit 06d4b6f

Please sign in to comment.