Skip to content

Commit

Permalink
unix: improve flaky solaris test logging
Browse files Browse the repository at this point in the history
relates to golang/go#58259

Change-Id: I47bbf4afb59b6e98571297ba53d7f9370712e030
Reviewed-on: https://go-review.googlesource.com/c/sys/+/465015
Reviewed-by: Bryan Mills <[email protected]>
Run-TryBot: Ian Lance Taylor <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
  • Loading branch information
nshalman authored and gopherbot committed Feb 2, 2023
1 parent e7d7f63 commit 01b330b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unix/syscall_solaris_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ func TestEventPortErrors(t *testing.T) {
timeout.Nsec = 1
_, err = port.GetOne(timeout)
if err != unix.ETIME {
t.Errorf("unexpected lack of timeout")
// See https://go.dev/issue/58259
// Perhaps we sometimes get EINTR ???
t.Errorf("port.GetOne(%v) returned error %v, want %v", timeout, err, unix.ETIME)
}
err = port.DissociateFd(uintptr(0))
if err == nil {
Expand Down

0 comments on commit 01b330b

Please sign in to comment.