Add --help to test_with_arvbox.sh, no issue #
[arvados.git] / sdk / cli / test / test_crunch-job.rb
index 4aea60aa00222a0b1a8b1eb95fff73c417a6d4e1..0fbff2e6de670da112461da20107fa5eeaae1e9b 100644 (file)
@@ -25,7 +25,8 @@ class TestCrunchJob < Minitest::Test
   # Return environment suitable for running crunch-job.
   def crunchenv opts={}
     env = ENV.to_h
-    env['PERLLIB'] = File.absolute_path('../../../perl/lib', __FILE__)
+    env['CRUNCH_REFRESH_TRIGGER'] =
+      File.absolute_path('../../../../tmp/crunch-refresh-trigger', __FILE__)
     env
   end
 
@@ -90,7 +91,7 @@ class TestCrunchJob < Minitest::Test
       tryjobrecord j, binstubs: ['clean_fail']
     end
     assert_match /Failing mount stub was called/, err
-    assert_match /Clean work dirs: exit 1\n$/, err
+    assert_match /clean work dirs: exit 44\n$/, err
     assert_equal SPECIAL_EXIT[:EX_RETRY_UNLOCKED], $?.exitstatus
   end