]> source.dussan.org Git - redmine.git/commitdiff
Skip all issue concurrency tests with MySQL.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 30 Jul 2017 17:09:45 +0000 (17:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 30 Jul 2017 17:09:45 +0000 (17:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16926 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_nested_set_concurrency_test.rb

index f5d60bf04488b62a9a96f7749ed13ea2e415a507..125131eae2a10edc617844205ec8627a44612290 100644 (file)
@@ -27,7 +27,7 @@ class IssueNestedSetConcurrencyTest < ActiveSupport::TestCase
   self.use_transactional_tests = false
 
   def setup
-    skip if sqlite?
+    skip if sqlite? || mysql?
     CustomField.delete_all
   end
 
@@ -36,8 +36,6 @@ class IssueNestedSetConcurrencyTest < ActiveSupport::TestCase
   end
 
   def test_concurrency
-    skip if mysql?
-
     # Generates an issue and destroys it in order
     # to load all needed classes before starting threads
     i = Issue.generate!