Skip to content
Permalink
Browse files

Turn off parallelism on stub and spec meta tests because they hit cla…

…ss methods (globals)

[git-p4: depot-paths = "//src/minitest/dev/": change = 12127]
  • Loading branch information...
zenspider committed Jun 15, 2019
1 parent 398e270 commit ab39d35fb4e84eb866ed9c4ecb707cbf3889de42
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/minitest/test_minitest_mock.rb
  2. +1 −1 test/minitest/test_minitest_spec.rb
@@ -362,7 +362,7 @@ def test_mock_called_via_send_with_args
require "minitest/metametameta"

class TestMinitestStub < Minitest::Test
parallelize_me!
# Do not parallelize since we're calling stub on class methods

def setup
super
@@ -757,7 +757,7 @@ def test_it_wont_add_test_methods_to_children
end

class TestMeta < MetaMetaMetaTestCase
parallelize_me!
# do not call parallelize_me! here because specs use register_spec_type globally

def util_structure
y = z = nil

0 comments on commit ab39d35

Please sign in to comment.
You can’t perform that action at this time.