[ARVADOS] updated: 1.2.0-317-g2480ed0b8
Git user
git at public.curoverse.com
Fri Nov 9 11:11:23 EST 2018
Summary of changes:
services/api/test/unit/container_request_test.rb | 10 ++++++++++
1 file changed, 10 insertions(+)
via 2480ed0b853d4abb70f039197c8f8e7cd9523901 (commit)
from 50288d61c8654a87053a2b3492672cf7d8d71930 (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 2480ed0b853d4abb70f039197c8f8e7cd9523901
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Fri Nov 9 13:10:11 2018 -0300
14323: Adds test for the empty collection mount resolution case.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>
diff --git a/services/api/test/unit/container_request_test.rb b/services/api/test/unit/container_request_test.rb
index f1bce6ef0..a7700573d 100644
--- a/services/api/test/unit/container_request_test.rb
+++ b/services/api/test/unit/container_request_test.rb
@@ -452,6 +452,16 @@ class ContainerRequestTest < ActiveSupport::TestCase
"path" => "/foo",
}
end],
+ # Empty collection
+ [{"/out" => {
+ "kind" => "collection",
+ "path" => "/foo"}},
+ lambda do |resolved|
+ resolved["/out"] == {
+ "kind" => "collection",
+ "path" => "/foo",
+ }
+ end],
].each do |mounts, okfunc|
test "resolve mounts #{mounts.inspect} to values" do
set_user_from_auth :active
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list