projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '14670-new-java-sdk-docs' refs #14670
[arvados.git]
/
services
/
api
/
test
/
unit
/
crunch_dispatch_test.rb
diff --git
a/services/api/test/unit/crunch_dispatch_test.rb
b/services/api/test/unit/crunch_dispatch_test.rb
index 42ef0d160cb1c595f781858cb9137a79d88e1da0..3a8f90a66b6705da6359cef0d59b49ef8db61996 100644
(file)
--- a/
services/api/test/unit/crunch_dispatch_test.rb
+++ b/
services/api/test/unit/crunch_dispatch_test.rb
@@
-99,7
+99,7
@@
class CrunchDispatchTest < ActiveSupport::TestCase
test 'override --cgroup-root with CRUNCH_CGROUP_ROOT' do
ENV['CRUNCH_CGROUP_ROOT'] = '/path/to/cgroup'
test 'override --cgroup-root with CRUNCH_CGROUP_ROOT' do
ENV['CRUNCH_CGROUP_ROOT'] = '/path/to/cgroup'
- Rails.configuration.
crunch_job_wrapper = :none
+ Rails.configuration.
Containers.JobsAPI.CrunchJobWrapper = "none"
act_as_system_user do
j = Job.create(repository: 'active/foo',
script: 'hash',
act_as_system_user do
j = Job.create(repository: 'active/foo',
script: 'hash',
@@
-140,7
+140,7
@@
class CrunchDispatchTest < ActiveSupport::TestCase
test 'rate limit of partial line segments' do
act_as_system_user do
test 'rate limit of partial line segments' do
act_as_system_user do
- Rails.configuration.
crunch_log_partial_line_throttle_p
eriod = 1
+ Rails.configuration.
Containers.Logging.LogPartialLineThrottleP
eriod = 1
job = {}
job[:bytes_logged] = 0
job = {}
job[:bytes_logged] = 0
@@
-197,7
+197,7
@@
class CrunchDispatchTest < ActiveSupport::TestCase
end
test 'scancel orphaned job nodes' do
end
test 'scancel orphaned job nodes' do
- Rails.configuration.
crunch_job_wrapper = :slurm_immediate
+ Rails.configuration.
Containers.JobsAPI.CrunchJobWrapper = "slurm_immediate"
act_as_system_user do
dispatch = CrunchDispatch.new
act_as_system_user do
dispatch = CrunchDispatch.new