Skip to content

Commit

Permalink
disable tests on ppc/ibmz due to missing trust/cert manager
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrutov committed Sep 26, 2024
1 parent 55cb791 commit 6d4faff
Showing 1 changed file with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
import io.brokerqe.claire.ArtemisConstants;
import io.brokerqe.claire.ArtemisVersion;
import io.brokerqe.claire.Constants;
import io.brokerqe.claire.KubernetesArchitecture;
import io.brokerqe.claire.ResourceManager;
import io.brokerqe.claire.junit.DisabledTestArchitecture;
import io.brokerqe.claire.junit.TestValidSince;
import io.brokerqe.claire.junit.TestValidUntil;
import io.brokerqe.claire.operator.ArtemisFileProvider;
import io.fabric8.kubernetes.api.model.HasMetadata;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -157,27 +157,31 @@ void teardownClusterOperator() {
teardownDefaultClusterOperator(testNamespace);
}

@ParameterizedTest
@EnumSource(value = Constants.SECRETSOURCE.class, names = {"MANUAL", "TRUST_MANAGER"})
@Test
@TestValidSince(ArtemisVersion.VERSION_2_33)
public void testMutualAuthentication(Constants.SECRETSOURCE source) {
doTestTlsMessaging(true, source, true);
@DisabledTestArchitecture(archs = {KubernetesArchitecture.S390X, KubernetesArchitecture.PPC64LE})
public void testMutualAuthentication() {
doTestTlsMessaging(true, Constants.SECRETSOURCE.TRUST_MANAGER, true);
}

@ParameterizedTest
@EnumSource(value = Constants.SECRETSOURCE.class, names = {"MANUAL", "CERT_MANAGER"})
@Test
@TestValidSince(ArtemisVersion.VERSION_2_33)
public void testWithoutClientAuthentication(Constants.SECRETSOURCE source) {
doTestTlsMessaging(true, source, false);
public void testWithoutClientAuthentication() {
doTestTlsMessaging(true, Constants.SECRETSOURCE.CERT_MANAGER, false);
}

@Test
@TestValidSince(ArtemisVersion.VERSION_2_21)
@TestValidUntil(ArtemisVersion.VERSION_2_33)
public void testSslManual() {
public void testSslManualMutual() {
doTestTlsMessaging(true, Constants.SECRETSOURCE.MANUAL, true);
}

@Test
@TestValidSince(ArtemisVersion.VERSION_2_21)
public void testSslManualNonMutual() {
doTestTlsMessaging(true, Constants.SECRETSOURCE.MANUAL, false);
}

@Test
@TestValidUntil(ArtemisVersion.VERSION_2_21)
public void testMutualAuthenticationOldVersion() {
Expand Down

0 comments on commit 6d4faff

Please sign in to comment.