Add tweaks for Ruby's GC to speed up tests
This commit is contained in:
1 parent
df61a1fe9e
commit
b3b7fa11b0
1 file changed
+6
@@ -92,6 +92,12 @@ class ActionController::IntegrationTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
class ActiveSupport::TestCase
|
class ActiveSupport::TestCase
|
||||||
|
begin
|
||||||
|
require 'ruby_gc_test_patchs'
|
||||||
|
include RubyGcTestPatch
|
||||||
|
rescue LoadError
|
||||||
|
end
|
||||||
|
|
||||||
def configure_overhead_plugin
|
def configure_overhead_plugin
|
||||||
@custom_field = TimeEntryActivityCustomField.generate!
|
@custom_field = TimeEntryActivityCustomField.generate!
|
||||||
Setting['plugin_redmine_overhead'] = {
|
Setting['plugin_redmine_overhead'] = {
|
||||||
|
|||||||
Reference in new issue
Block a user