summaryrefslogtreecommitdiff
path: root/test/healthcheck_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-04 12:52:11 +0000
committerlain <lain@soykaf.club>2019-10-04 12:52:11 +0000
commit27110793a7d8e3aa6434bde63a1f687424ae779c (patch)
tree441c190aa4fd53b005f2d16dbf0b7b57e2a9b5ca /test/healthcheck_test.exs
parent27e914955ebf150a08bcda04545f7df591dae151 (diff)
parent0fc29deba06b6a897f3534ce68abfdadcab12a6b (diff)
downloadpleroma-27110793a7d8e3aa6434bde63a1f687424ae779c.tar.gz
pleroma-27110793a7d8e3aa6434bde63a1f687424ae779c.zip
Merge branch 'featrue/job-monitor' into 'develop'
Add Pleroma.JobQueueMonitor Closes #1274 See merge request pleroma/pleroma!1721
Diffstat (limited to 'test/healthcheck_test.exs')
-rw-r--r--test/healthcheck_test.exs9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/healthcheck_test.exs b/test/healthcheck_test.exs
index 6bb8d5b7f..66d5026ff 100644
--- a/test/healthcheck_test.exs
+++ b/test/healthcheck_test.exs
@@ -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