mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
improve test
This commit is contained in:
parent
c995fd65be
commit
383b57a350
|
@ -3,6 +3,9 @@ require File.expand_path("../../config/environment", __FILE__)
|
|||
def pretty
|
||||
puts "<before>"
|
||||
puts PrettyText.cook("My pid is #{Process.pid}")
|
||||
GC.start
|
||||
sleep 1
|
||||
puts "done gc"
|
||||
end
|
||||
|
||||
Discourse.after_fork
|
||||
|
|
Loading…
Reference in New Issue
Block a user