[ARVADOS] updated: 1.3.0-3025-g940ca546c
Git user
git at public.arvados.org
Fri Aug 28 01:38:59 UTC 2020
Summary of changes:
apps/workbench/test/integration/work_units_test.rb | 19 ++++++++++++++++
services/api/test/fixtures/workflows.yml | 25 ++++++++++++++++++++++
2 files changed, 44 insertions(+)
via 940ca546c8150200c64e44f0ecbc30c9d4e59bc5 (commit)
from c502d965f4dbc07aa3b9ed2ea233872c3c6a0b8e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 940ca546c8150200c64e44f0ecbc30c9d4e59bc5
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Thu Aug 27 21:38:34 2020 -0400
16602: Test for applying WorkflowRunnerResource
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/apps/workbench/test/integration/work_units_test.rb b/apps/workbench/test/integration/work_units_test.rb
index 9d4f59055..43740f192 100644
--- a/apps/workbench/test/integration/work_units_test.rb
+++ b/apps/workbench/test/integration/work_units_test.rb
@@ -283,4 +283,23 @@ class WorkUnitsTest < ActionDispatch::IntegrationTest
assert_text "This container request was created from the workflow"
assert_match /Provide a value for .* then click the \"Run\" button to start the workflow/, page.text
end
+
+ test "create workflow with WorkflowRunnerResources" do
+ visit page_with_token('active', '/workflows/zzzzz-7fd4e-validwithinput3')
+
+ find('a,button', text: 'Run this workflow').click
+
+ # Choose project for the container_request being created
+ within('.modal-dialog') do
+ find('.selectable', text: 'A Project').click
+ find('button', text: 'Choose').click
+ end
+ click_link 'Advanced'
+ click_link("API response")
+ assert_text('"container_image": "arvados/jobs:2.0.4"')
+ assert_text('"vcpus": 2')
+ assert_text('"ram": 1293942784')
+ assert_text('"--collection-cache-size=678"')
+
+ end
end
diff --git a/services/api/test/fixtures/workflows.yml b/services/api/test/fixtures/workflows.yml
index 2859e375a..98bfeaf84 100644
--- a/services/api/test/fixtures/workflows.yml
+++ b/services/api/test/fixtures/workflows.yml
@@ -67,3 +67,28 @@ workflow_with_input_defaults:
id: ex_string_def
default: hello-testing-123
outputs: []
+
+workflow_with_wrr:
+ uuid: zzzzz-7fd4e-validwithinput3
+ owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
+ name: Workflow with default input specifications
+ description: this workflow has inputs specified
+ created_at: <%= 1.minute.ago.to_s(:db) %>
+ definition: |
+ cwlVersion: v1.0
+ class: CommandLineTool
+ hints:
+ - class: http://arvados.org/cwl#WorkflowRunnerResources
+ acrContainerImage: arvados/jobs:2.0.4
+ ramMin: 1234
+ coresMin: 2
+ keep_cache: 678
+ baseCommand:
+ - echo
+ inputs:
+ - type: string
+ id: ex_string
+ - type: string
+ id: ex_string_def
+ default: hello-testing-123
+ outputs: []
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list