Tests: Ruby hooks.

This commit is contained in:
Oisin Canty
2021-07-02 13:00:57 +00:00
parent 6c14d5d7b1
commit 8c83652c2a
11 changed files with 183 additions and 22 deletions

View File

@@ -0,0 +1,9 @@
require 'securerandom'
on_worker_boot do
File.write("./cookie_worker_boot.#{SecureRandom.hex}", "worker booted")
end
on_thread_boot do
File.write("./cookie_thread_boot.#{SecureRandom.hex}", "thread booted")
end