X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/622a60e878900b94d71555d72bced70660f065bf..44c95f99098fa6c6acbfa82d4b6cbc6015eb6e39:/apps/workbench/test/integration_performance/collections_controller_test.rb diff --git a/apps/workbench/test/integration_performance/collections_controller_test.rb b/apps/workbench/test/integration_performance/collections_controller_test.rb index 0a4cd6ba89..17dd9b61d6 100644 --- a/apps/workbench/test/integration_performance/collections_controller_test.rb +++ b/apps/workbench/test/integration_performance/collections_controller_test.rb @@ -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