X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f59d6d76acf9c6f5bb95c5902b2c9a1cca427e93..3ef580c47029ff0fbf959b044f29c183f41cb609:/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..a9b64b335f 100644 --- a/services/api/test/integration/database_reset_test.rb +++ b/services/api/test/integration/database_reset_test.rb @@ -1,9 +1,7 @@ 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 +19,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 +45,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)