X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1c03f0c13bd55683a12c68d9bfc2a602b7815a16..2c0b0226983d13084e77fe059efb85d5ce2c33f5:/services/api/test/unit/collection_performance_test.rb diff --git a/services/api/test/unit/collection_performance_test.rb b/services/api/test/unit/collection_performance_test.rb index 075b4c542b..475202058e 100644 --- a/services/api/test/unit/collection_performance_test.rb +++ b/services/api/test/unit/collection_performance_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,7 +21,7 @@ class CollectionModelPerformanceTest < ActiveSupport::TestCase end # "crrud" == "create read render update delete", not a typo - test "crrud cycle for a collection with a big manifest)" do + slow_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, @@ -33,6 +37,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 @@ -42,7 +47,7 @@ class CollectionModelPerformanceTest < ActiveSupport::TestCase c.signed_manifest_text end time_block 'sign + render' do - resp = c.as_api_response(nil) + c.as_api_response(nil) end loc = Blob.sign_locator(Digest::MD5.hexdigest('foo') + '+3', api_token: api_token(:active))