mirror of
https://github.com/go-kit/kit.git
synced 2025-07-17 01:12:38 +02:00
util/conn: more detail for flaky test
This commit is contained in:
@ -40,7 +40,7 @@ func TestManager(t *testing.T) {
|
||||
// First takes should fail.
|
||||
for i := 0; i < 10; i++ {
|
||||
if conn = mgr.Take(); conn != nil {
|
||||
t.Fatalf("want nil conn, got real conn")
|
||||
t.Fatalf("iteration %d: want nil conn, got real conn", i)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user