From: Peter Amstutz Date: Tue, 19 Jan 2021 21:39:30 +0000 (-0500) Subject: 17267: Add integration test for broken link in $schemas X-Git-Tag: 2.2.0~164^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/b01ff2414daaf5fd8ff7f0e78ed49e63d431ccd3 17267: Add integration test for broken link in $schemas Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- diff --git a/sdk/cwl/tests/17267-broken-schemas.cwl b/sdk/cwl/tests/17267-broken-schemas.cwl new file mode 100644 index 0000000000..0dca945207 --- /dev/null +++ b/sdk/cwl/tests/17267-broken-schemas.cwl @@ -0,0 +1,13 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +cwlVersion: v1.0 +class: CommandLineTool +$schemas: + - http://example.com/schema.xml +inputs: [] +outputs: + out: stdout +baseCommand: [echo, "foo"] +stdout: foo.txt diff --git a/sdk/cwl/tests/arvados-tests.yml b/sdk/cwl/tests/arvados-tests.yml index a46decd961..668604f884 100644 --- a/sdk/cwl/tests/arvados-tests.yml +++ b/sdk/cwl/tests/arvados-tests.yml @@ -345,3 +345,13 @@ } tool: 16377-missing-default.cwl doc: "Test issue 16377 - missing default fails even when it should be overridden by valid input" + +- job: hello.yml + output: + "out": + "checksum": "sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15" + "class": "File" + "location": "foo.txt" + "size": 4 + tool: 17267-broken-schemas.cwl + doc: "Test issue 17267 - inaccessible $schemas URL is not a fatal error"