1
0
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:
Peter Bourgon
2017-08-03 23:52:57 +02:00
parent ab2a990a50
commit aa9583c667

View File

@ -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)
}
}