Skip to content

Commit

Permalink
Stabilize InfoTest
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Jul 10, 2023
1 parent 89b4233 commit 436bd53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/test_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ def test_after_request_complete

pid = spawn_server(app: File.join(ROOT, "test/integration/info.ru"), config: <<~CONFIG)
listen "#{addr}:#{port}"
worker_processes 2
worker_processes 1
CONFIG

assert_healthy("http://#{addr}:#{port}")

response = http_get("http://#{addr}:#{port}/")
assert_equal "{:workers_count=>2, :live_workers_count=>2}", response.body
assert_equal "{:workers_count=>1, :live_workers_count=>1}", response.body

assert_clean_shutdown(pid)
end
Expand Down

0 comments on commit 436bd53

Please sign in to comment.