Package list golang-github-go-kit-kit / aa9583c
util/conn: more detail for flaky test Peter Bourgon 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3939 // First takes should fail.
4040 for i := 0; i < 10; i++ {
4141 if conn = mgr.Take(); conn != nil {
42 t.Fatalf("want nil conn, got real conn")
42 t.Fatalf("iteration %d: want nil conn, got real conn", i)
4343 }
4444 }
4545