mirror of
https://github.com/golang/go
synced 2024-11-23 20:30:04 -07:00
Revert "net: add missing error check in test"
This reverts commit ec521467e3
.
Reson for revert: The test cases using slowDst4 and slowDst6 are
fragile. We need to find out a better approach to the trick on the IP
routeability.
Change-Id: I544453886e809d1c7b339673d8f1d5bdef357147
Reviewed-on: https://go-review.googlesource.com/c/163919
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
43732816be
commit
850e3636d5
@ -338,11 +338,6 @@ func TestDialParallel(t *testing.T) {
|
||||
if c != nil {
|
||||
c.Close()
|
||||
}
|
||||
if tt.expectOk && err != nil {
|
||||
t.Errorf("#%d (cancel): got %v; want nil", i, err)
|
||||
} else if !tt.expectOk && err == nil {
|
||||
t.Errorf("#%d (cancel): got nil; want non-nil", i)
|
||||
}
|
||||
elapsed = time.Now().Sub(startTime)
|
||||
if elapsed > 100*time.Millisecond {
|
||||
t.Errorf("#%d (cancel): got %v; want <= 100ms", i, elapsed)
|
||||
|
Loading…
Reference in New Issue
Block a user