[ARVADOS] updated: 3a6966e5997ed5de342947759042ec5584f770c6

Git user git at public.curoverse.com
Thu Feb 16 16:11:35 EST 2017


Summary of changes:
 sdk/cli/test/binstub_output_coll_owner/python | 4 ++++
 sdk/cli/test/test_crunch-job.rb               | 9 +++++++++
 2 files changed, 13 insertions(+)
 create mode 100755 sdk/cli/test/binstub_output_coll_owner/python

       via  3a6966e5997ed5de342947759042ec5584f770c6 (commit)
      from  0403a0c816df1edea311b9197147fd254d131712 (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 3a6966e5997ed5de342947759042ec5584f770c6
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Thu Feb 16 18:11:09 2017 -0300

    11121: Added test.

diff --git a/sdk/cli/test/binstub_output_coll_owner/python b/sdk/cli/test/binstub_output_coll_owner/python
new file mode 100755
index 0000000..9e2b358
--- /dev/null
+++ b/sdk/cli/test/binstub_output_coll_owner/python
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo owner_uuid: $2 >&2
+
diff --git a/sdk/cli/test/test_crunch-job.rb b/sdk/cli/test/test_crunch-job.rb
index 0fbff2e..847f994 100644
--- a/sdk/cli/test/test_crunch-job.rb
+++ b/sdk/cli/test/test_crunch-job.rb
@@ -8,6 +8,7 @@ class TestCrunchJob < Minitest::Test
 
   JOBSPEC = {
     grep_local: {
+      owner_uuid: 'zzzzz-j7d0g-it30l961gq3t0oi',
       script: 'grep',
       script_version: 'master',
       repository: File.absolute_path('../../../..', __FILE__),
@@ -95,6 +96,14 @@ class TestCrunchJob < Minitest::Test
     assert_equal SPECIAL_EXIT[:EX_RETRY_UNLOCKED], $?.exitstatus
   end
 
+  def test_output_collection_owner_uuid
+    j = jobspec :grep_local
+    out, err = capture_subprocess_io do
+      tryjobrecord j, binstubs: ['output_coll_owner']
+    end
+    assert_match /owner_uuid: #{j['owner_uuid']}/, err
+  end
+
   def test_docker_image_missing
     skip 'API bug: it refuses to create this job in Running state'
     out, err = capture_subprocess_io do

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list