Re-enable GZIP module tests (#11450)

This commit is contained in:
Jan Bartel 2024-02-27 13:40:32 +01:00 committed by GitHub
parent bb646ed085
commit 06d4b6ff13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,6 @@ import org.eclipse.jetty.http.HttpHeader;
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;
@ -31,7 +30,6 @@ import static org.hamcrest.Matchers.not;
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
@ -147,7 +145,7 @@ public class GzipModuleTests extends AbstractJettyHomeTest
"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))