Skip to content

Commit

Permalink
Enable Quarkus CLI tests for RHBQ only
Browse files Browse the repository at this point in the history
Quarkus stream 2.7 is not part of code.quarkus.io anymore, thus tests are failing
  • Loading branch information
michalvavrik committed Jun 6, 2022
1 parent 06d2148 commit 15e5b2f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions quarkus-cli/src/test/java/io/quarkus/ts/quarkus/cli/QuarkusCliExtensionsIT.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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";
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -158,4 +157,4 @@ private void assertListFullOptionOutput() {
private void assertResultIsSuccessful() {
assertTrue(result.isSuccessful(), "Extensions list command didn't work. Output: " + result.getOutput());
}
}
}

0 comments on commit 15e5b2f

Please sign in to comment.