Skip to content

Commit

Permalink
test: check if metrics work in sharness
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Oct 18, 2016
1 parent de34ef8 commit c56e4a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/sharness/t0600-issues-and-regressions-online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ test_expect_success "no panic traces on daemon" '
test_must_fail grep "nil pointer dereference" daemon_err
'

test_expect_success "metrics work" '
curl localhost:5001/debug/metrics/prometheus | grep "ipfs_bs_cache_arc_hits_total"
'

test_kill_ipfs_daemon

test_expect_success "ipfs daemon --offline --mount fails - #2995" '
Expand Down

0 comments on commit c56e4a4

Please sign in to comment.