projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
11789: Added tests.
[arvados.git]
/
sdk
/
cli
/
test
/
test_crunch-job.rb
diff --git
a/sdk/cli/test/test_crunch-job.rb
b/sdk/cli/test/test_crunch-job.rb
index 847f994f486842b69ad2436ea767649cfb1a0c64..a0fed6ee32b90022b20d3666e2272155ad40db01 100644
(file)
--- 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
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
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
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 $?
end
assert_match /'#{bogus_version}' not found, giving up/, err
assert_jobfail $?