Skip to content

Commit

Permalink
chore: add task for running integration tests for Zowe HA on z/OS
Browse files Browse the repository at this point in the history
Signed-off-by: nx673747 <[email protected]>
  • Loading branch information
nx673747 committed Jan 16, 2025
1 parent 32793d8 commit 9eabf47
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions integration-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test {

task startUpCheck(type: Test) {
group 'integration tests'
description "Check that the API Mediation Layer is up and runnig"
description "Check that the API Mediation Layer is up and running"

systemProperties System.properties
useJUnitPlatform {
Expand All @@ -97,7 +97,6 @@ task environmentCheck(type: Test) {
outputs.upToDateWhen { false }
}


task runStartUpCheck(type: Test) {
group 'integration tests'
description "Check that the API Mediation Layer is up and running"
Expand Down Expand Up @@ -170,14 +169,14 @@ task runAllIntegrationTests(type: Test) {
outputs.upToDateWhen { false }
}

task runAllIntegrationTestsForZoweTestingOnZos(type: Test) {
task runAllIntegrationTestsForZoweNonHaTestingOnZos(type: Test) {
// This task is intended to run on z/OS systems with some limitations:
// Only 1 Gateway
// Only 1 Gateway (Non-HA mode)
// z/OSMF Authentication provider only
// No support for SAF ID Tokens

group "Integration tests"
description "Run all integration tests for Zowe testing on z/OS (limited)"
description "Run all integration tests for Zowe Non-HA testing on z/OS (limited)"

def targetSystem = System.getenv("ZOS_TARGET_SYS") ? "-" + System.getenv("ZOS_TARGET_SYS") : ""
systemProperty "environment.config", targetSystem
Expand Down Expand Up @@ -206,6 +205,19 @@ task runAllIntegrationTestsForZoweTestingOnZos(type: Test) {
outputs.upToDateWhen { false }
}

task runAllIntegrationTestsForZoweHaTestingOnZos(type: Test) {
// This task is intended to run on z/OS systems with some limitations:
// More than 1 Gateway (HA mode)
// z/OSMF Authentication provider only
// No support for SAF ID Tokens

group "Integration tests"
description "Run all integration tests for Zowe HA testing on z/OS (limited)"

// TODO Modify integration tests that are created only for non-HA setup to handle both setups.
dependsOn 'runAllIntegrationTestsForZoweNonHaTestingOnZos', 'runHATests', 'runDeterministicLbHaTests', 'runStickySessionLbHaTests', 'runChaoticHATests'
}

task runAllIntegrationTestsForZoweTesting(type: Test) {
group "Integration tests"
description "Run all integration tests for Zowe testing"
Expand Down Expand Up @@ -350,6 +362,7 @@ task runGatewayProxyTest(type: Test) {
)
}
}

task runGatewayServiceRoutingTest(type: Test) {
group "integration tests"
description "Run tests verifying central gateway can locate service and translate auth scheme"
Expand Down

0 comments on commit 9eabf47

Please sign in to comment.