Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed May 18, 2024
1 parent a989651 commit 886c402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgroup_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestMetricsHandler(t *testing.T) {
t.Fatalf("Unexpected error GET /metrics: %s", err.Error())
}
if !strings.Contains(body, "cgroup_memory_used_bytes{cgroup=\"/user.slice/user-20821.slice\"} 8.081408e+06") {
t.Errorf("Unexpected value for cgroup_memory_used_bytes")
t.Errorf("Unexpected value for cgroup_memory_used_bytes: %s", body)
}
}

Expand Down

0 comments on commit 886c402

Please sign in to comment.