[ARVADOS] updated: 2.1.0-302-ge60380ca9

Git user git at public.arvados.org
Fri Jan 29 18:38:18 UTC 2021


Summary of changes:
 services/api/test/unit/container_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  e60380ca96dab6348b9b6ca40e5d09867b94ab85 (commit)
      from  c72e7388b50feaf79651719d6e3a7fbe8239c334 (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 e60380ca96dab6348b9b6ca40e5d09867b94ab85
Author: Nico Cesar <nico at nicocesar.com>
Date:   Fri Jan 29 13:38:02 2021 -0500

    fixed test for 17299
    
    Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>

diff --git a/services/api/test/unit/container_test.rb b/services/api/test/unit/container_test.rb
index 4d8538524..773a9a876 100644
--- a/services/api/test/unit/container_test.rb
+++ b/services/api/test/unit/container_test.rb
@@ -23,7 +23,7 @@ class ContainerTest < ActiveSupport::TestCase
     command: ["echo", "hello"],
     output_path: "test",
     runtime_constraints: {
-      "api" => false,
+      "API" => false,
       "keep_cache_ram" => 0,
       "ram" => 12000000000,
       "vcpus" => 4,
@@ -229,7 +229,7 @@ class ContainerTest < ActiveSupport::TestCase
     set_user_from_auth :active
     env = {"C" => "3", "B" => "2", "A" => "1"}
     m = {"F" => {"kind" => "3"}, "E" => {"kind" => "2"}, "D" => {"kind" => "1"}}
-    rc = {"vcpus" => 1, "ram" => 1, "keep_cache_ram" => 1, "api" => true}
+    rc = {"vcpus" => 1, "ram" => 1, "keep_cache_ram" => 1, "API" => true}
     c, _ = minimal_new(environment: env, mounts: m, runtime_constraints: rc)
     c.reload
     assert_equal Container.deep_sort_hash(env).to_json, c.environment.to_json

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list