projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18596: Fix test case to catch up with new default config.
[arvados.git]
/
services
/
api
/
test
/
unit
/
container_request_test.rb
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
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"],
common_attrs = {cwd: "test",
priority: 1,
command: ["echo", "hello"],