forked from broadinstitute/cromwell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress scary stack traces when actor crashes are being handled prop…
…erly. [force ci] (broadinstitute#4984)
- Loading branch information
Showing
6 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
centaur/src/main/resources/standardTestCases/papi_fail_on_bad_attrs.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: papi_fail_on_bad_attrs | ||
testFormat: workflowfailure | ||
backends: [Papi] # Only PAPI should object to the malformed disk attribute | ||
|
||
files { | ||
workflow: papi_fail_on_bad_attrs/papi_fail_on_bad_attrs.wdl | ||
} | ||
|
||
metadata { | ||
workflowName: papi_fail_on_bad_attrs | ||
status: Failed | ||
} |
21 changes: 21 additions & 0 deletions
21
...ur/src/main/resources/standardTestCases/papi_fail_on_bad_attrs/papi_fail_on_bad_attrs.wdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version 1.0 | ||
|
||
task hello { | ||
input { | ||
String addressee | ||
} | ||
command { | ||
echo "Hello ${addressee}!" | ||
} | ||
output { | ||
String salutation = read_string(stdout()) | ||
} | ||
runtime { | ||
docker: "ubuntu:latest" | ||
disks: "10 HDD" # This disk specification string is malformed but Cromwell should handle that gracefully (i.e. fail not hang). | ||
} | ||
} | ||
|
||
workflow papi_fail_on_bad_attrs { | ||
call hello { input: addressee = "you" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters