Skip to content

Commit 52c0b79

Browse files
aednicholsAlexITC
authored andcommitted
WX-1351 Split out restart tests (#7333)
1 parent 291f4a7 commit 52c0b79

File tree

8 files changed

+34
-2
lines changed

8 files changed

+34
-2
lines changed

.github/workflows/integration_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- build_type: centaurPapiV2beta
3333
build_mysql: 5.7
3434
friendly_name: Centaur Papi V2 Beta with MySQL 5.7
35+
- build_type: centaurPapiV2betaRestart
36+
build_mysql: 5.7
37+
friendly_name: Centaur Papi V2 Beta (restart)
3538
- build_type: dbms
3639
friendly_name: DBMS
3740
- build_type: centaurTes

centaur/src/main/resources/standardTestCases/failures.restart_while_failing_jes.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: failures.restart_while_failing_jes
22
testFormat: WorkflowFailureRestartWithRecover
33
callMark: restart_while_failing.B1
44
backends: [Papi]
5+
tags: [restart]
56

67
files {
78
workflow: failures/restart_while_failing/restart_while_failing.wdl

centaur/src/main/resources/standardTestCases/failures.restart_while_failing_local.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ testFormat: WorkflowFailureRestartWithRecover
33
callMark: restart_while_failing.B1
44
backendsMode: "only"
55
backends: [Local, LocalNoDocker]
6-
tags: [localdockertest]
6+
tags: [localdockertest, restart]
77

88
files {
99
workflow: failures/restart_while_failing/restart_while_failing.wdl

centaur/src/main/resources/standardTestCases/failures.restart_while_failing_tes.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: failures.restart_while_failing_tes
22
testFormat: WorkflowFailureRestartWithoutRecover
33
callMark: restart_while_failing.B1
44
backends: [TES]
5-
tags: [localdockertest]
5+
tags: [localdockertest, restart]
66

77
files {
88
workflow: failures/restart_while_failing/restart_while_failing.wdl

src/ci/bin/testCentaurHoricromtalPapiV2beta.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ cromwell::build::run_centaur \
2525
-e relative_output_paths_colliding \
2626
-e standard_output_paths_colliding_prevented \
2727
-e papi_v2alpha1_gcsa \
28+
-e restart \
2829

2930
cromwell::build::generate_code_coverage
3031

src/ci/bin/testCentaurPapiV2beta.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ cromwell::build::run_centaur \
2323
-e relative_output_paths_colliding \
2424
-e standard_output_paths_colliding_prevented \
2525
-e papi_v2alpha1_gcsa \
26+
-e restart \
2627

2728
cromwell::build::generate_code_coverage
2829

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env bash
2+
3+
set -o errexit -o nounset -o pipefail
4+
export CROMWELL_BUILD_REQUIRES_SECURE=true
5+
# import in shellcheck / CI / IntelliJ compatible ways
6+
# shellcheck source=/dev/null
7+
source "${BASH_SOURCE%/*}/test.inc.sh" || source test.inc.sh
8+
# shellcheck source=/dev/null
9+
source "${BASH_SOURCE%/*}/test_papi.inc.sh" || source test_papi.inc.sh
10+
11+
cromwell::build::setup_common_environment
12+
13+
cromwell::build::setup_centaur_environment
14+
15+
cromwell::build::papi::setup_papi_centaur_environment
16+
17+
cromwell::build::assemble_jars
18+
19+
cromwell::build::run_centaur \
20+
-p 100 \
21+
-i restart \
22+
23+
cromwell::build::generate_code_coverage
24+
25+
cromwell::build::print_workflow_statistics
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include "papi_v2beta_application.conf"

0 commit comments

Comments
 (0)