Skip to content

Commit a6cb03b

Browse files
Peter Amstutzmr-c
authored andcommitted
Tag inplace update tests. (#57)
Disable work reuse on time limit tests (implementations such as Arvados doesn't consider time limits when sharing/reusing tasks, causes false negatives when one test is expecting success and another test is expecting failure on the same underlying command.)
1 parent 1a8e777 commit a6cb03b

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

conformance_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2998,14 +2998,15 @@
29982998
- job: tests/empty.json
29992999
tool: tests/inp_update_wf.cwl
30003000
doc: inplace update has side effect on file content
3001+
tags: [ inplace_update ]
30013002
output:
30023003
a: 4
30033004
b: 4
30043005

3005-
30063006
- job: tests/empty.json
30073007
tool: tests/inpdir_update_wf.cwl
30083008
doc: inplace update has side effect on directory content
3009+
tags: [ inplace_update ]
30093010
output: {
30103011
a: [
30113012
{
@@ -3257,4 +3258,3 @@
32573258
Test use of $graph without specifying which process to run,
32583259
hash-prefixed "main"
32593260
tags: [ required, command_line_tool ]
3260-

tests/timelimit.cwl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ outputs: []
55
requirements:
66
ToolTimeLimit:
77
timelimit: 3
8+
WorkReuse:
9+
enableReuse: false
810
baseCommand: [sleep, "15"]

tests/timelimit3-wf.cwl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ cwlVersion: v1.1.0-dev1
55
requirements:
66
ToolTimeLimit:
77
timelimit: 0
8+
WorkReuse:
9+
enableReuse: false
810

911
inputs:
1012
i:
@@ -31,4 +33,3 @@ steps:
3133
type: string?
3234
outputBinding:
3335
outputEval: "time passed"
34-

tests/timelimit3.cwl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ outputs: []
55
requirements:
66
ToolTimeLimit:
77
timelimit: 0
8+
WorkReuse:
9+
enableReuse: false
810
baseCommand: [sleep, "15"]

tests/timelimit4-wf.cwl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ cwlVersion: v1.1.0-dev1
55
requirements:
66
ToolTimeLimit:
77
timelimit: $(1+2)
8+
WorkReuse:
9+
enableReuse: false
810
InlineJavascriptRequirement: {}
911

1012
inputs:
@@ -32,4 +34,3 @@ steps:
3234
type: string?
3335
outputBinding:
3436
outputEval: "time passed"
35-

tests/timelimit4.cwl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ requirements:
66
InlineJavascriptRequirement: {}
77
ToolTimeLimit:
88
timelimit: $(1+2)
9+
WorkReuse:
10+
enableReuse: false
911
baseCommand: [sleep, "15"]

0 commit comments

Comments
 (0)