net: add unit tests for read/write deadlines
The tests verify that deadlines are "persistent",
read/write deadlines do not interfere, can be reset,
read deadline can be set with both SetDeadline()
and SetReadDeadline(), etc.
Thank you for this proposal, some comments attached. https://codereview.appspot.com/6850070/diff/1003/src/pkg/net/timeout_test.go File src/pkg/net/timeout_test.go (right): https://codereview.appspot.com/6850070/diff/1003/src/pkg/net/timeout_test.go#newcode21 src/pkg/net/timeout_test.go:21: ln, ...
11 years, 5 months ago
(2012-11-22 13:05:22 UTC)
#4
*** Submitted as http://code.google.com/p/go/source/detail?r=d351a7cc9ca9 *** net: add unit tests for read/write deadlines The tests verify ...
11 years, 4 months ago
(2012-11-25 09:27:51 UTC)
#12
*** Submitted as http://code.google.com/p/go/source/detail?r=d351a7cc9ca9 ***
net: add unit tests for read/write deadlines
The tests verify that deadlines are "persistent",
read/write deadlines do not interfere, can be reset,
read deadline can be set with both SetDeadline()
and SetReadDeadline(), etc.
R=golang-dev, bradfitz, dave
CC=golang-dev
http://codereview.appspot.com/6850070
Issue 6850070: code review 6850070: net: add unit tests for read/write deadlines
(Closed)
Created 11 years, 5 months ago by dvyukov
Modified 11 years, 4 months ago
Reviewers:
Base URL:
Comments: 23