mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
improve test
This commit is contained in:
parent
c995fd65be
commit
383b57a350
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue