Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable several disabled tests, remove others #2191

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build-time-analytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<artifactId>build-time-analytics</artifactId>
<packaging>jar</packaging>
<name>Quarkus QE TS: Build Time Analytics</name>
<properties>
<quarkus.native.native-image-xmx>6g</quarkus.native.native-image-xmx>
</properties>
<dependencies>
<dependency>
<groupId>io.quarkus.qe</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import io.quarkus.test.bootstrap.QuarkusCliRestService;
import io.quarkus.test.configuration.PropertyLookup;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnNative;
import io.quarkus.test.scenarios.annotations.EnabledOnNative;
import io.quarkus.test.scenarios.annotations.EnabledWhenLinuxContainersAvailable;

Expand All @@ -22,7 +21,6 @@
@Tag("quarkus-cli")
@QuarkusScenario
@EnabledOnNative
@DisabledOnNative(reason = "https://github.com/quarkusio/quarkus/issues/43360")
public class CliProdModeNativeIT extends AbstractAnalyticsIT {

private static final PropertyLookup NATIVE_IMG_XMX = new PropertyLookup("quarkus.native.native-image-xmx");
Expand Down
4 changes: 4 additions & 0 deletions http/http-advanced-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>com.aayushatharva.brotli4j</groupId>
<artifactId>native-linux-aarch64</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus.qe</groupId>
<artifactId>quarkus-test-service-grpc</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnNative;
import io.quarkus.test.services.Dependency;
import io.quarkus.test.services.QuarkusApplication;
import io.quarkus.test.utils.FileUtils;
Expand Down Expand Up @@ -86,19 +85,16 @@ public void checkJsonBrotli4JCompression() throws IOException {
}

@Test
@DisabledOnNative(reason = "https://github.com/quarkusio/quarkus/issues/43392")
public void checkCompressedAndDecompressedWithQuarkus() {
testCompressedAndDecompressed("/compression/default/text", DEFAULT_TEXT_PLAIN);
}

@Test
@DisabledOnNative(reason = "https://github.com/quarkusio/quarkus/issues/43392")
public void checkCompressedAndDecompressedJSONWithQuarkus() {
testCompressedAndDecompressed("/compression/brotli/json", JSON_CONTENT);
}

@Test
@DisabledOnNative(reason = "https://github.com/quarkusio/quarkus/issues/43392")
public void checkCompressedAndDecompressedXMLWithQuarkus() {
testCompressedAndDecompressed("/compression/brotli/xml", "Bob Dylan");
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package io.quarkus.ts.http.advanced.reactive;

import org.junit.jupiter.api.condition.DisabledIfSystemProperty;

import io.quarkus.test.scenarios.OpenShiftScenario;

@OpenShiftScenario
@DisabledIfSystemProperty(named = "ts.arm.missing.services.excludes", matches = "true", disabledReason = "https://github.com/quarkusio/quarkus/issues/43770")
public class OpenShiftBrotli4JIT extends Brotli4JHttpIT {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.greaterThan;
import static org.hamcrest.Matchers.in;
import static org.hamcrest.Matchers.is;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

import java.time.Duration;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

Expand All @@ -36,7 +33,6 @@
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.OpenShiftScenario;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.EnabledOnQuarkusVersion;
import io.quarkus.test.security.certificate.CertificateBuilder;
import io.smallrye.mutiny.Uni;
import io.vertx.core.http.HttpVersion;
Expand Down Expand Up @@ -143,24 +139,6 @@ public void http2Server() throws InterruptedException {
assertThat(done.getCount(), equalTo(0L));
}

@Test
@DisplayName("Non-application endpoint move to /q/")
@EnabledOnQuarkusVersion(version = "1\\..*", reason = "Redirection is no longer supported in 2.x")
public void nonAppRedirections() {
List<String> endpoints = Arrays.asList("/openapi", "/swagger-ui", "/metrics/base", "/metrics/application",
"/metrics/vendor", "/metrics", "/health/group", "/health/well", "/health/ready", "/health/live",
"/health");

for (String endpoint : endpoints) {
getApp().given().redirects().follow(false).get(ROOT_PATH + endpoint)
.then().statusCode(HttpStatus.SC_MOVED_PERMANENTLY)
.and().header("Location", containsString("/q" + endpoint));

getApp().given().get(ROOT_PATH + endpoint)
.then().statusCode(in(Arrays.asList(HttpStatus.SC_OK, HttpStatus.SC_NO_CONTENT)));
}
}

@Test
public void microprofileHttpClientRedirection() {
io.restassured.response.Response health = getApp().given().get("api/client");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package io.quarkus.ts.http.minimum;

//import jakarta.ws.rs.ApplicationPath;
import jakarta.ws.rs.ApplicationPath;
import jakarta.ws.rs.core.Application;

// TODO uncomment when https://github.com/quarkusio/quarkus/issues/42963 is fixed
//@ApplicationPath("/rest")
@ApplicationPath("/rest")
public abstract class AbstractApplication extends Application {
// Abstract jakarta.ws.rs.core.Application classes should be ignored
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

public class ValidationHandlerOnRoutes {
//TODO when Quarkus use vert.x version 4.4.6 we can use SchemaRepository instead of SchemaParser with SchemaRouter
// https://github.com/quarkus-qe/quarkus-test-suite/issues/2192
//private SchemaRepository schemaRepository =SchemaRepository.create(new JsonSchemaOptions().setDraft(Draft.DRAFT7).setBaseUri(BASEURI));
private SchemaParser schemaParser;
private SchemaRouter schemaRouter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.OpenShiftScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.services.KafkaContainer;
import io.quarkus.test.services.QuarkusApplication;
import io.quarkus.test.services.containers.model.KafkaVendor;
Expand All @@ -21,7 +20,6 @@
import io.vertx.mutiny.core.buffer.Buffer;

@OpenShiftScenario
@DisabledOnAarch64Native(reason = "https://github.com/quarkusio/quarkus/issues/43801")
public class OpenShiftKafkaSnappyIT {

private static final int TIMEOUT_SEC = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.scenarios.annotations.DisabledOnRHBQandWindows;
import io.quarkus.test.services.KafkaContainer;
import io.quarkus.test.services.QuarkusApplication;
Expand All @@ -34,7 +33,6 @@
import io.vertx.mutiny.core.buffer.Buffer;

@QuarkusScenario
@DisabledOnAarch64Native(reason = "https://github.com/quarkusio/quarkus/issues/43801")
@DisabledOnRHBQandWindows(reason = "https://issues.redhat.com/browse/QUARKUS-5214")
public class SnappyCompressionIT {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.OpenShiftScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.services.KafkaContainer;
import io.quarkus.test.services.QuarkusApplication;
import io.quarkus.test.services.containers.model.KafkaVendor;

@OpenShiftScenario
@DisabledOnAarch64Native(reason = "https://issues.redhat.com/browse/QUARKUS-5180")
@EnabledIfSystemProperty(named = "ts.redhat.registry.enabled", matches = "true")
public class OpenShiftAmqStreamsKafkaStreamIT extends BaseKafkaStreamTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package io.quarkus.ts.messaging.kafka.reactive.streams;

import io.quarkus.test.scenarios.OpenShiftScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;

@OpenShiftScenario
@DisabledOnAarch64Native(reason = "https://issues.redhat.com/browse/QUARKUS-5180")
public class OpenShiftStrimziKafkaStreamIT extends StrimziKafkaStreamIT {
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.OpenShiftScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.services.Operator;
import io.quarkus.test.services.QuarkusApplication;
import io.quarkus.test.services.operator.KafkaInstance;

@OpenShiftScenario
@DisabledOnAarch64Native(reason = "https://issues.redhat.com/browse/QUARKUS-5180")
public class OperatorOpenShiftAmqStreamsKafkaStreamIT extends BaseKafkaStreamTest {

@Operator(name = "amq-streams", source = "redhat-operators")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.scenarios.annotations.DisabledOnFipsAndNative;
import io.quarkus.test.scenarios.annotations.DisabledOnRHBQandWindows;
import io.quarkus.test.services.KafkaContainer;
Expand All @@ -15,7 +14,6 @@
@QuarkusScenario
@DisabledOnFipsAndNative(reason = "QUARKUS-5233")
@DisabledOnRHBQandWindows(reason = "QUARKUS-3434")
@DisabledOnAarch64Native(reason = "QUARKUS-5180")
public class SaslSslAlertMonitorIT extends BaseKafkaStreamTest {

@KafkaContainer(vendor = KafkaVendor.STRIMZI, protocol = KafkaProtocol.SASL_SSL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.scenarios.annotations.DisabledOnRHBQandWindows;
import io.quarkus.test.services.KafkaContainer;
import io.quarkus.test.services.QuarkusApplication;
Expand All @@ -13,7 +12,6 @@

@QuarkusScenario
@DisabledOnRHBQandWindows(reason = "QUARKUS-3434")
@DisabledOnAarch64Native(reason = "QUARKUS-5180")
public class SslAlertMonitorIT extends BaseKafkaStreamTest {

@KafkaContainer(vendor = KafkaVendor.STRIMZI, protocol = KafkaProtocol.SSL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
import io.quarkus.test.bootstrap.Protocol;
import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.QuarkusScenario;
import io.quarkus.test.scenarios.annotations.DisabledOnAarch64Native;
import io.quarkus.test.scenarios.annotations.DisabledOnRHBQandWindows;
import io.quarkus.test.services.KafkaContainer;
import io.quarkus.test.services.QuarkusApplication;
import io.quarkus.test.services.containers.model.KafkaVendor;

@QuarkusScenario
@DisabledOnRHBQandWindows(reason = "QUARKUS-3434")
@DisabledOnAarch64Native(reason = "QUARKUS-5180")
public class StrimziKafkaStreamIT extends BaseKafkaStreamTest {

@KafkaContainer(vendor = KafkaVendor.STRIMZI)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.apache.http.HttpStatus;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;

import io.quarkus.test.bootstrap.RestService;
import io.quarkus.test.scenarios.QuarkusScenario;
Expand All @@ -24,7 +23,6 @@
@Tag("fips-incompatible") // TODO: enable when https://github.com/quarkusio/quarkus/issues/40526 gets fixed
@Tag("QUARKUS-1080")
@Tag("QUARKUS-1408")
@DisabledIfSystemProperty(named = "ts.arm.missing.services.excludes", matches = "true", disabledReason = "https://github.com/quarkus-qe/quarkus-test-suite/issues/2018")
@QuarkusScenario
public class DevModeMultipleReactiveSqlClientsIT {

Expand Down