Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log current test iteration
Browse files Browse the repository at this point in the history
This should help tell when we are deadlocking from test logs if we hit a problem in the future.

Signed-off-by: Mathieu Champlon <[email protected]>
mat007 committed Jan 13, 2025
1 parent 4b491a9 commit 9d32dd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pipe_test.go
Original file line number Diff line number Diff line change
@@ -644,6 +644,8 @@ func TestListenConnectRace(t *testing.T) {
s.Close()
}
wg.Wait()

t.Logf("iteration %d", i)
}
}

@@ -684,5 +686,7 @@ func TestCloseRace(t *testing.T) {
}
_ = c.Close()
_ = l.Close()

t.Logf("iteration %d", i)
}
}

0 comments on commit 9d32dd6

Please sign in to comment.