Skip to content

Commit 45a2e35

Browse files
author
Alan Christie
committed
Adds test 'timeout-minutes'
1 parent 08cf80e commit 45a2e35

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

decoder/job-definition-schema.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ definitions:
284284
type: integer
285285
minimum: 1
286286
maximum: 100
287+
timeout-minutes:
288+
type: integer
289+
minimum: 1
287290
ignore:
288291
type: 'null'
289292
inputs:

tests/test_validate_job_schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def test_validate_two_basic_tests():
146146
{'basic-1': {'run-level': 1,
147147
'ignore': None},
148148
'basic-2': {'run-level': 100,
149+
'timeout-minutes': 30,
149150
'inputs': {'files': ['blob-1.txt', 'blob-2.txt']},
150151
'options': {'param-1': 32,
151152
'param-2': 'a'},

0 commit comments

Comments
 (0)