We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ea2b7 commit 38f9e6cCopy full SHA for 38f9e6c
test/integration/puma/plugin_test.rb
@@ -5,6 +5,8 @@ class PumaPluginTest < ActiveSupport::TestCase
5
self.use_transactional_tests = false
6
7
setup do
8
+ FileUtils.mkdir_p Rails.root.join("tmp", "pids")
9
+
10
cmd = %w[
11
bundle exec puma
12
-b tcp://127.0.0.1:9222
@@ -22,7 +24,10 @@ class PumaPluginTest < ActiveSupport::TestCase
22
24
end
23
25
26
teardown do
- Process.kill :INT, @pid
27
+ terminate_process(@pid, signal: :INT)
28
+ wait_for_registered_processes 0, timeout: 0.2.second
29
30
+ JobResult.delete_all
31
32
33
test "perform jobs inside puma's process" do
0 commit comments