Please catch net.errClosing to make testsuite less noisy
Bug #1408668 reported by
Michael Vogt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
go-dbus |
In Progress
|
Undecided
|
John Lenton |
Bug Description
When I run:
$ go test
I get a bunch of warnings like:
2015/01/08 15:49:05 Failed to read message: read unix @/tmp/dbus-
The reason appears to be that the recieveLoop() is not stopped when Connection.Close() is called. One way to stop this log output is to catch the net.errClosing error. Attached is a patch that does that. Alternatively (probably better) the loop is stopped on Close().
Thanks,
Michael
Related branches
lp://qastaging/~chipaca/go-dbus/fix-1408668
- Michael Vogt (community): Approve
- Go D-Bus Hackers: Pending requested
-
Diff: 69 lines (+23/-7)1 file modifieddbus.go (+23/-7)
Changed in go-dbus: | |
assignee: | nobody → John Lenton (chipaca) |
status: | New → In Progress |
To post a comment you must log in.