Add Pleroma.JobQueueMonitor

This commit is contained in:
Egor Kislitsyn 2019-09-26 18:49:57 +07:00
commit 75290cbfbd
5 changed files with 133 additions and 1 deletions

View file

@ -9,7 +9,14 @@ defmodule Pleroma.HealthcheckTest do
test "system_info/0" do
result = Healthcheck.system_info() |> Map.from_struct()
assert Map.keys(result) == [:active, :healthy, :idle, :memory_used, :pool_size]
assert Map.keys(result) == [
:active,
:healthy,
:idle,
:job_queue_stats,
:memory_used,
:pool_size
]
end
describe "check_health/1" do