Check refresh trigger in crunch-job instead of crunch-dispatch.
[arvados.git] / services / api / config / environments / test.rb.example
index b62e7871403c11e19d948869d5c89829e0d2b6c0..0ed55e6ac9df5f2409c6080a2ca4293bcd153261 100644 (file)
@@ -37,15 +37,22 @@ Server::Application.configure do
   # Print deprecation notices to the stderr
   config.active_support.deprecation = :stderr
 
+  # Raise exception on mass assignment protection for Active Record models
+  config.active_record.mass_assignment_sanitizer = :strict
+
   config.git_repositories_dir = '/var/cache/git'
 
   config.crunch_job_wrapper = :slurm_immediate
   config.crunch_job_user = 'crunch' # if false, do not set uid when running jobs
 
+  # The web service must be able to create this file, and
+  # crunch_dispatch.rb must be able to unlink it.
+  config.crunch_refresh_trigger = '/tmp/crunch_refresh_trigger_test'
+
   # config.dnsmasq_conf_dir = '/etc/dnsmasq.d'
 
   # config.compute_node_ami = 'ami-cbca41a2'
-  # config.compute_node_security_group = 'arvados-compute'
+  # config.compute_node_ec2run_args = '-g arvados-compute'
   # config.compute_node_spot_bid = 0.11
 
   # config.compute_node_domain = `hostname --domain`.strip