projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75556b4
)
18596: Fix test case to catch up with new default config.
author
Tom Clegg <tom@curii.com>
Wed, 23 Mar 2022 14:36:30 +0000
(10:36 -0400)
committer
Tom Clegg <tom@curii.com>
Wed, 23 Mar 2022 14:36:30 +0000
(10:36 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/api/test/unit/container_request_test.rb
patch
|
blob
|
history
diff --git
a/services/api/test/unit/container_request_test.rb
b/services/api/test/unit/container_request_test.rb
index 9b35769ef2f0886ab3e1595d280b0a9a133fb83e..aa649e9106c4a403c1d2745c6a2a805a87e5f205 100644
(file)
--- 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"],