Skip to content

Commit

Permalink
command: Improve metrics fail logging
Browse files Browse the repository at this point in the history
  • Loading branch information
endocrimes committed Sep 19, 2019
1 parent c8ba938 commit 4ba87cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/metrics_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func TestHTTP_FreshClientAllocMetrics(t *testing.T) {
terminal == float32(numTasks), nil
}, func(err error) {
require.Fail("timed out waiting for metrics to converge",
"pending: %v, running: %v, terminal: %v", pending, running, terminal)
"expected: (pending: 0, running: 0, terminal: %v), got: (pending: %v, running: %v, terminal: %v)", numTasks, pending, running, terminal)
})
})
}

0 comments on commit 4ba87cc

Please sign in to comment.