Merge branch '8784-dir-listings'
[arvados.git] / services / api / test / integration / database_reset_test.rb
index 58f2abf69709d62f63989aca05ee5cb4a26e869c..430474ea0498898a362b83e54e46709d67bb41f8 100644 (file)
@@ -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)