[ARVADOS] updated: a3d45597b1f4ea9443d35370ebfa7925fdd5ce90

Git user git at public.curoverse.com
Sat Nov 12 12:57:29 EST 2016


Summary of changes:
 sdk/cli/test/test_arv-keep-put.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

       via  a3d45597b1f4ea9443d35370ebfa7925fdd5ce90 (commit)
      from  3885bc2e043ce123929acceaaa8dbbf20dbb8c12 (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 a3d45597b1f4ea9443d35370ebfa7925fdd5ce90
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Sat Nov 12 14:55:06 2016 -0300

    10383: Fixed some tests because the new behaviour on arv-put refuses to run on 'resume' mode when the cache file belongs to a collection. The tests were not testing the resume feature so it was added the --no-resume flag to get them to pass.

diff --git a/sdk/cli/test/test_arv-keep-put.rb b/sdk/cli/test/test_arv-keep-put.rb
index fefbc27..8769cde 100644
--- a/sdk/cli/test/test_arv-keep-put.rb
+++ b/sdk/cli/test/test_arv-keep-put.rb
@@ -40,7 +40,7 @@ class TestArvKeepPut < Minitest::Test
 
   def test_raw_file
     out, err = capture_subprocess_io do
-      assert arv_put('--raw', './tmp/foo')
+      assert arv_put('--no-resume', '--raw', './tmp/foo')
     end
     $stderr.write err
     assert_match '', err
@@ -87,7 +87,7 @@ class TestArvKeepPut < Minitest::Test
 
   def test_as_stream
     out, err = capture_subprocess_io do
-      assert arv_put('--as-stream', './tmp/foo')
+      assert arv_put('--no-resume', '--as-stream', './tmp/foo')
     end
     $stderr.write err
     assert_match '', err
@@ -104,7 +104,7 @@ class TestArvKeepPut < Minitest::Test
 
   def test_batch_progress
     out, err = capture_subprocess_io do
-      assert arv_put('--manifest', '--batch-progress', './tmp/foo')
+      assert arv_put('--no-resume', '--manifest', '--batch-progress', './tmp/foo')
     end
     assert_match /: 0 written 3 total/, err
     assert_match /: 3 written 3 total/, err

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list