mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Merge pull request #6349 from hashicorp/b-host-stats
client: Return empty values when host stats fail
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user