3781: Merge branch 'master' into 3781-browser-upload
[arvados.git] / sdk / cli / test / test_arv-collection-create.rb
index d1f4a51940d1f67ec4bc12ba75b642af1f3fa4c6..18bef403b761f52701fdc86b2919dac44de59e13 100644 (file)
@@ -7,6 +7,8 @@ class TestCollectionCreate < Minitest::Test
   end
 
   def test_small_collection
+    skip "Waiting unitl #4534 is implemented"
+
     uuid = Digest::MD5.hexdigest(foo_manifest) + '+' + foo_manifest.size.to_s
     out, err = capture_subprocess_io do
       assert_arv('--format', 'uuid', 'collection', 'create', '--collection', {
@@ -14,9 +16,7 @@ class TestCollectionCreate < Minitest::Test
                    manifest_text: foo_manifest
                  }.to_json)
     end
-
-    match = /^([0-9a-z]{5}-4zz18-[0-9a-z]{15})?$/.match(out)
-    assert_equal true, (match and match[1] and !match[1].nil?)
+    assert /^([0-9a-z]{5}-4zz18-[0-9a-z]{15})?$/.match(out)
     assert_equal '', err
     $stderr.puts err
   end