mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/fiber/test_scheduler.rb: Remove the test file from $LOADED_FEATURES
to prevent the following failure on `make test-all --repeat-count=2` http://ci.rvm.jp/results/trunk-repeat20-asserts@phosphorus-docker/3957774 ``` 1) Error: TestFiberScheduler#test_autoload: NameError: uninitialized constant TestFiberSchedulerAutoload Object.const_get(:TestFiberSchedulerAutoload) ^^^^^^^^^^ ```
This commit is contained in:
parent
dc9a13abee
commit
df0bcb3385
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ class TestFiberScheduler < Test::Unit::TestCase
|
|||
|
||||
thread.join
|
||||
ensure
|
||||
$LOADED_FEATURES.delete(File.expand_path("autoload.rb", __dir__))
|
||||
Object.send(:remove_const, :TestFiberSchedulerAutoload)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue