Tests: Ruby hooks.
This commit is contained in:
5
test/ruby/hooks/on_worker_shutdown.rb
Normal file
5
test/ruby/hooks/on_worker_shutdown.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
require 'securerandom'
|
||||
|
||||
on_worker_shutdown do
|
||||
File.write("./cookie_worker_shutdown.#{SecureRandom.hex}", "shutdown")
|
||||
end
|
||||
Reference in New Issue
Block a user