From: Nico Cesar Date: Fri, 29 Jan 2021 18:38:02 +0000 (-0500) Subject: fixed test for 17299 X-Git-Tag: 2.2.0~140^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/e60380ca96dab6348b9b6ca40e5d09867b94ab85 fixed test for 17299 Arvados-DCO-1.1-Signed-off-by: Nico Cesar --- diff --git a/services/api/test/unit/container_test.rb b/services/api/test/unit/container_test.rb index 4d85385242..773a9a8766 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