diff --git a/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java b/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java index 44f618c10..ea007269c 100755 --- a/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java +++ b/quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java @@ -9,6 +9,7 @@ import javax.inject.Inject; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledIfSystemProperty; @@ -18,6 +19,7 @@ import io.quarkus.test.scenarios.QuarkusScenario; import io.quarkus.test.scenarios.annotations.DisabledOnQuarkusSnapshot; import io.quarkus.test.scenarios.annotations.DisabledOnQuarkusVersion; +import io.quarkus.test.scenarios.annotations.EnabledOnQuarkusVersion; import io.quarkus.test.services.quarkus.model.QuarkusProperties; /** @@ -29,6 +31,7 @@ @QuarkusScenario @DisabledOnQuarkusVersion(version = "1\\..*", reason = "Quarkus CLI has been reworked in 2.x") @DisabledIfSystemProperty(named = "profile.id", matches = "native", disabledReason = "Only for JVM verification") +@EnabledOnQuarkusVersion(version = ".*redhat.*", reason = "There is no stream 2.7 in code.quarkus.io anymore") public class QuarkusCliExtensionsIT { static final String AGROAL_EXTENSION_NAME = "Agroal - Database connection pool"; @@ -40,6 +43,11 @@ public class QuarkusCliExtensionsIT { @Inject static QuarkusCliClient cliClient; + @BeforeAll + static void useRHBQRegistry() { + cliClient.run("registry", "add", "registry.quarkus.redhat.com"); + } + private QuarkusCliClient.Result result; @Test