Skip to content

Commit

Permalink
disable test after resolve quarkusio/quarkus#40806
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarranzan committed May 27, 2024
1 parent 23a12a3 commit 79ef03b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import jakarta.ws.rs.core.MediaType;

import org.apache.http.HttpStatus;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.bootstrap.RestService;
Expand Down Expand Up @@ -51,6 +52,7 @@ void testGzipOverTheMaxLimit() throws IOException {
assertEquals(HttpStatus.SC_REQUEST_TOO_LONG, response.statusCode());
}

@Disabled ("Because https://github.com/quarkusio/quarkus/issues/40806")
@Test
void testGzipBelowMaxLimit() throws IOException {
byte[] compressedData = generateCompressedData(gzip_bellow_max_input_1K);
Expand All @@ -63,6 +65,7 @@ void testGzipBelowMaxLimit() throws IOException {
.post("/gzip")
.then().log().all()
.extract().response();
assertEquals(HttpStatus.SC_OK, response.statusCode());
}

private byte[] generateCompressedData(byte[] data) throws IOException {
Expand Down

0 comments on commit 79ef03b

Please sign in to comment.