X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/72aa70eec7693bfb5d46a4bdac3619b3c6b1f79c..0145b3654f3af993b03719996385dedd2e803c08:/services/api/test/integration/database_reset_test.rb diff --git a/services/api/test/integration/database_reset_test.rb b/services/api/test/integration/database_reset_test.rb index 58f2abf697..430474ea04 100644 --- a/services/api/test/integration/database_reset_test.rb +++ b/services/api/test/integration/database_reset_test.rb @@ -1,9 +1,11 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class DatabaseResetTest < ActionDispatch::IntegrationTest - self.use_transactional_fixtures = false - - test "reset fails when Rails.env != 'test'" do + slow_test "reset fails when Rails.env != 'test'" do rails_env_was = Rails.env begin Rails.env = 'production' @@ -21,7 +23,7 @@ class DatabaseResetTest < ActionDispatch::IntegrationTest assert_response 403 end - test "database reset doesn't break basic CRUD operations" do + slow_test "database reset doesn't break basic CRUD operations" do active_auth = auth(:active) admin_auth = auth(:admin) @@ -47,7 +49,7 @@ class DatabaseResetTest < ActionDispatch::IntegrationTest assert_response 404 end - test "roll back database change" do + slow_test "roll back database change" do active_auth = auth(:active) admin_auth = auth(:admin)