[ARVADOS] updated: fc2eaa20275146369e451da6cf14f4461c68117c

Git user git at public.curoverse.com
Mon Apr 17 10:02:06 EDT 2017


Summary of changes:
 sdk/cli/test/binstub_arv-mount/arv-mount             | 1 +
 sdk/cli/test/binstub_clean_fail/{mount => arv-mount} | 0
 sdk/cli/test/test_crunch-job.rb                      | 4 ++--
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100755 sdk/cli/test/binstub_arv-mount/arv-mount
 rename sdk/cli/test/binstub_clean_fail/{mount => arv-mount} (100%)

       via  fc2eaa20275146369e451da6cf14f4461c68117c (commit)
      from  9cab6a09cca4153104694f0dd4644c5aa5f54b22 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit fc2eaa20275146369e451da6cf14f4461c68117c
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Apr 17 10:01:06 2017 -0400

    Fix crunch-run tests.
    
    refs #11209

diff --git a/sdk/cli/test/binstub_arv-mount/arv-mount b/sdk/cli/test/binstub_arv-mount/arv-mount
new file mode 100755
index 0000000..a9bf588
--- /dev/null
+++ b/sdk/cli/test/binstub_arv-mount/arv-mount
@@ -0,0 +1 @@
+#!/bin/bash
diff --git a/sdk/cli/test/binstub_clean_fail/mount b/sdk/cli/test/binstub_clean_fail/arv-mount
similarity index 100%
rename from sdk/cli/test/binstub_clean_fail/mount
rename to sdk/cli/test/binstub_clean_fail/arv-mount
diff --git a/sdk/cli/test/test_crunch-job.rb b/sdk/cli/test/test_crunch-job.rb
index 847f994..a0fed6e 100644
--- a/sdk/cli/test/test_crunch-job.rb
+++ b/sdk/cli/test/test_crunch-job.rb
@@ -99,7 +99,7 @@ class TestCrunchJob < Minitest::Test
   def test_output_collection_owner_uuid
     j = jobspec :grep_local
     out, err = capture_subprocess_io do
-      tryjobrecord j, binstubs: ['output_coll_owner']
+      tryjobrecord j, binstubs: ['arv-mount', 'output_coll_owner']
     end
     assert_match /owner_uuid: #{j['owner_uuid']}/, err
   end
@@ -120,7 +120,7 @@ class TestCrunchJob < Minitest::Test
     out, err = capture_subprocess_io do
       j = jobspec :grep_local
       j[:script_version] = bogus_version
-      tryjobrecord j
+      tryjobrecord j, binstubs: ['arv-mount']
     end
     assert_match /'#{bogus_version}' not found, giving up/, err
     assert_jobfail $?

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list