Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / test / integration_performance / collections_controller_test.rb
index 0a4cd6ba894103333a0d2a6dd2431acd5ddebe2f..17dd9b61d6d7927c15757c0bec55809ea280ef10 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 require 'test_helper'
 require 'helpers/manifest_examples'
 require 'helpers/time_block'
@@ -17,10 +21,10 @@ class BigCollectionsControllerTest < ActionController::TestCase
     bigmanifest1 = time_block 'build example' do
       make_manifest(streams: 100,
                     files_per_stream: 100,
-                    blocks_per_file: 30,
+                    blocks_per_file: 20,
                     bytes_per_block: 0)
     end
-    bigmanifest2 = bigmanifest1.sub '.txt', '.txt2'
+    bigmanifest2 = bigmanifest1.gsub '.txt', '.txt2'
     smallmanifest1 = ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:small1.txt\n"
     smallmanifest2 = ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:small2.txt\n"
     totalsize = bigmanifest1.length + bigmanifest2.length +
@@ -53,7 +57,7 @@ class BigCollectionsControllerTest < ActionController::TestCase
       bigmanifest = time_block 'build example' do
         make_manifest(streams: 100,
                       files_per_stream: 100,
-                      blocks_per_file: 30,
+                      blocks_per_file: 20,
                       bytes_per_block: 0)
       end
       @controller = CollectionsController.new