From 15e5b2f25e53538854625cf59b9017e020b634ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vav=C5=99=C3=ADk?= Date: Mon, 6 Jun 2022 13:54:54 +0200 Subject: [PATCH] Enable Quarkus CLI tests for RHBQ only Quarkus stream 2.7 is not part of code.quarkus.io anymore, thus tests are failing --- .../io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java 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 old mode 100644 new mode 100755 index 864f4835ea..bd2d40dcfc --- 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 @@ -18,6 +18,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 +30,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"; @@ -87,9 +89,6 @@ public void shouldListExtensionsUsingPlatformBom() { } @DisabledOnQuarkusSnapshot(reason = "999-SNAPSHOT is not pushed into the platform site") - @DisabledOnQuarkusVersion(version = "2.7.5.Final", reason = "Quarkus 2.7 stream was removed from code.quarkus.io") - //TODO Currently code.quarkus and quarkusCli are pointing to the same set of defined streams. - // ZULIP ref: https://quarkusio.zulipchat.com/#narrow/stream/191168-core-team/topic/streams.20on.20registry.20.2F.20code.2Equarkus/near/280456392 @Test public void shouldListExtensionsUsingStream() { String streamVersion = getCurrentStreamVersion(); @@ -158,4 +157,4 @@ private void assertListFullOptionOutput() { private void assertResultIsSuccessful() { assertTrue(result.isSuccessful(), "Extensions list command didn't work. Output: " + result.getOutput()); } -} \ No newline at end of file +}