-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a config option to ignore the noAddress runtime attribute [BA-5739]…
… (#5569)
- Loading branch information
1 parent
8aabeca
commit 017de78
Showing
14 changed files
with
91 additions
and
21 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
centaur/src/main/resources/standardTestCases/ignore_noAddress.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,14 @@ | ||
# NB: To request this test by name, make it lowercase, eg sbt "centaur/it:testOnly * -- -n ignore_noaddress" | ||
name: ignore_noAddress | ||
backends: [Papi,Papiv2] | ||
backendsMode: any | ||
testFormat: workflowsuccess | ||
|
||
files { | ||
workflow: ignore_noAddress/ignore_noAddress.wdl | ||
} | ||
|
||
metadata { | ||
workflowName: ignore_noAddress | ||
status: Succeeded | ||
} |
17 changes: 17 additions & 0 deletions
17
centaur/src/main/resources/standardTestCases/ignore_noAddress/ignore_noAddress.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,17 @@ | ||
task task_with_noAddress { | ||
|
||
command { echo "hello, world" } | ||
|
||
output { String s = read_string(stdout()) } | ||
|
||
runtime { | ||
docker: "ubuntu:latest" | ||
# NB: This is ignored because of the config in the centaur configuration. | ||
# If we didn't have that, this task would run forever - or at least until PAPI times it out. | ||
noAddress: true | ||
} | ||
} | ||
|
||
workflow ignore_noAddress { | ||
call task_with_noAddress | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ filesystems { | |
} | ||
|
||
slow-job-warning-time: 20 minutes | ||
|
||
allow-noAddress-attribute: false |
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 |
---|---|---|
|
@@ -17,3 +17,5 @@ filesystems { | |
} | ||
|
||
slow-job-warning-time: 20 minutes | ||
|
||
allow-noAddress-attribute: false |
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
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
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
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
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