13996: Migrate tests to new config
[arvados.git] / services / api / test / tasks / delete_old_job_logs_test.rb
index 4d4cdbc9e5bea227406d1c7975a173d01b1eb88a..6a793e1e0e9aaae29b24b60c096bb76c1021d251 100644 (file)
@@ -16,7 +16,7 @@ class DeleteOldJobLogsTaskTest < ActiveSupport::TestCase
   end
 
   def run_with_expiry(clean_after)
-    Rails.configuration.clean_job_log_rows_after = clean_after
+    Rails.configuration.Containers["Logging"]["MaxAge"] = clean_after
     Rake::Task[TASK_NAME].reenable
     Rake.application.invoke_task TASK_NAME
   end