[ARVADOS] updated: 2.1.0-2113-g2b0dc5dde

Git user git at public.arvados.org
Wed Mar 23 14:37:08 UTC 2022


Summary of changes:
 services/api/test/unit/container_request_test.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  2b0dc5ddea4e88a4fcf699b63b720841f77b76c5 (commit)
      from  75556b4f8a694bbb3835ec0387fd6d2c361a561b (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 2b0dc5ddea4e88a4fcf699b63b720841f77b76c5
Author: Tom Clegg <tom at curii.com>
Date:   Wed Mar 23 10:36:30 2022 -0400

    18596: Fix test case to catch up with new default config.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/services/api/test/unit/container_request_test.rb b/services/api/test/unit/container_request_test.rb
index 9b35769ef..aa649e910 100644
--- a/services/api/test/unit/container_request_test.rb
+++ b/services/api/test/unit/container_request_test.rb
@@ -1126,7 +1126,8 @@ class ContainerRequestTest < ActiveSupport::TestCase
     end
   end
 
-  test "Having preemptible_instances=true create a committed child container request and verify the scheduling parameter of its container" do
+  test "AlwaysUsePreemptibleInstances makes child containers preemptible" do
+    Rails.configuration.Containers.AlwaysUsePreemptibleInstances = true
     common_attrs = {cwd: "test",
                     priority: 1,
                     command: ["echo", "hello"],

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list