[ARVADOS] updated: 1.3.0-145-g849567142

Git user git at public.curoverse.com
Thu Jan 10 09:58:13 EST 2019


Summary of changes:
 sdk/cwl/tests/test_job.py | 2 ++
 1 file changed, 2 insertions(+)

       via  84956714286f5d9889d587c50d5bbe501baacc51 (commit)
      from  d52bf847478dbb92d068e27bcea36fdeee34a9a7 (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 84956714286f5d9889d587c50d5bbe501baacc51
Author: Eric Biagiotti <ebiagiotti at veritasgenetcs.com>
Date:   Thu Jan 10 09:57:49 2019 -0500

    13306: Fix for test_job.TestJob.test_done and test_done_use_existing_collection
    
    Had to mock a key for the CollectionReader due to 'list' being added to arvjob.py line 249 during stage2 of finalize. The 'list' call interrupts the on demand mocking of the CollectionReader object.
    
    Arvados-DCO-1.1-Signed-off-by:  Eric Biagiotti <ebiagiotti at veritasgenetics.com>

diff --git a/sdk/cwl/tests/test_job.py b/sdk/cwl/tests/test_job.py
index 99466e3f3..5476496e6 100644
--- a/sdk/cwl/tests/test_job.py
+++ b/sdk/cwl/tests/test_job.py
@@ -217,6 +217,7 @@ class TestJob(unittest.TestCase):
         runner.num_retries = 0
         runner.ignore_docker_for_reuse = False
 
+        reader().keys.return_value = "log.txt"
         reader().open.return_value = io.StringIO(
             """2016-11-02_23:12:18 c97qk-8i9sb-cryqw2blvzy4yaj 13358 0 stderr 2016/11/02 23:12:18 crunchrunner: $(task.tmpdir)=/tmp/crunch-job-task-work/compute3.1/tmpdir
 2016-11-02_23:12:18 c97qk-8i9sb-cryqw2blvzy4yaj 13358 0 stderr 2016/11/02 23:12:18 crunchrunner: $(task.outdir)=/tmp/crunch-job-task-work/compute3.1/outdir
@@ -290,6 +291,7 @@ class TestJob(unittest.TestCase):
         runner.project_uuid = "zzzzz-8i9sb-zzzzzzzzzzzzzzz"
         runner.num_retries = 0
 
+        reader().keys.return_value = "log.txt"
         reader().open.return_value = io.StringIO(
             """2016-11-02_23:12:18 c97qk-8i9sb-cryqw2blvzy4yaj 13358 0 stderr 2016/11/02 23:12:18 crunchrunner: $(task.tmpdir)=/tmp/crunch-job-task-work/compute3.1/tmpdir
 2016-11-02_23:12:18 c97qk-8i9sb-cryqw2blvzy4yaj 13358 0 stderr 2016/11/02 23:12:18 crunchrunner: $(task.outdir)=/tmp/crunch-job-task-work/compute3.1/outdir

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list