Skip to content

Commit

Permalink
Changing order of tests in ProvisionerCleanupTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrz committed May 27, 2024
1 parent 0e37f7f commit 1d71ad5
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ public class ProvisionerCleanupTestCase {
private static Stream<OpenShiftProvisioner> provisionerProvider() {
if (IntersmashTestsuiteProperties.isCommunityTestExecutionProfileEnabled()) {
return Stream.of(
// Infinispan
new InfinispanOperatorProvisioner(OpenShiftProvisionerTestBase.getInfinispanOperatorApplication())
// WildFly
new WildflyBootableJarImageOpenShiftProvisioner(
, new WildflyBootableJarImageOpenShiftProvisioner(
OpenShiftProvisionerTestBase.getWildflyBootableJarOpenShiftApplication()),
new WildflyBootableJarImageOpenShiftProvisioner(
OpenShiftProvisionerTestBase.getEap7BootableJarOpenShiftApplication())
// Keycloak
, new KeycloakOperatorProvisioner(
OpenShiftProvisionerTestBase.getKeycloakOperatorApplication())
// Infinispan
, new InfinispanOperatorProvisioner(OpenShiftProvisionerTestBase.getInfinispanOperatorApplication())
// MySQL
, new MysqlImageOpenShiftProvisioner(OpenShiftProvisionerTestBase.getMysqlOpenShiftApplication())
// PostgreSql
Expand All @@ -71,8 +71,10 @@ private static Stream<OpenShiftProvisioner> provisionerProvider() {
OpenShiftProvisionerTestBase.getPostgreSQLTemplateOpenShiftApplication()));
} else if (IntersmashTestsuiteProperties.isProductizedTestExecutionProfileEnabled()) {
return Stream.of(
// RHDG
new InfinispanOperatorProvisioner(OpenShiftProvisionerTestBase.getInfinispanOperatorApplication())
// EAP latest GA
new WildflyImageOpenShiftProvisioner(
, new WildflyImageOpenShiftProvisioner(
OpenShiftProvisionerTestBase.getWildflyOpenShiftLocalBinaryTargetServerApplication())
// EAP 7
, new Eap7ImageOpenShiftProvisioner(OpenShiftProvisionerTestBase.getEap7OpenShiftImageApplication())
Expand All @@ -81,8 +83,7 @@ private static Stream<OpenShiftProvisioner> provisionerProvider() {
// RHBK
, new KeycloakOperatorProvisioner(
OpenShiftProvisionerTestBase.getKeycloakOperatorApplication())
// RHDG
, new InfinispanOperatorProvisioner(OpenShiftProvisionerTestBase.getInfinispanOperatorApplication()));
);
} else {
throw new IllegalStateException(
String.format("Unknown Intersmash test suite execution profile: %s",
Expand Down

0 comments on commit 1d71ad5

Please sign in to comment.