Merge branch '6592-retry-if-cleanupfail' closes #6592
[arvados.git] / services / api / test / unit / collection_performance_test.rb
index d3e755d382a59c91b7135c2dd9ce3dca3365e1b2..37da5fddde9da8a0d0e34f7d292394c3ffe4cf87 100644 (file)
@@ -16,12 +16,12 @@ class CollectionModelPerformanceTest < ActiveSupport::TestCase
     Thread.current[:api_client_authorization] = nil
   end
 
-  # "create read render update delete", not a typo
+  # "crrud" == "create read render update delete", not a typo
   test "crrud cycle for a collection with a big manifest)" do
     bigmanifest = time_block 'make example' do
       make_manifest(streams: 100,
                     files_per_stream: 100,
-                    blocks_per_file: 10,
+                    blocks_per_file: 20,
                     bytes_per_block: 2**26,
                     api_token: api_token(:active))
     end
@@ -33,6 +33,7 @@ class CollectionModelPerformanceTest < ActiveSupport::TestCase
         c.check_signatures
       end
       time_block 'check signatures + save' do
+        c.instance_eval do @signatures_checked = false end
         c.save!
       end
       c = time_block 'read' do