Commit 850e3636 authored by Mikio Hara's avatar Mikio Hara Committed by Bryan C. Mills

Revert "net: add missing error check in test"

This reverts commit ec521467.

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/163919Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 43732816
...@@ -338,11 +338,6 @@ func TestDialParallel(t *testing.T) { ...@@ -338,11 +338,6 @@ func TestDialParallel(t *testing.T) {
if c != nil { if c != nil {
c.Close() 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) elapsed = time.Now().Sub(startTime)
if elapsed > 100*time.Millisecond { if elapsed > 100*time.Millisecond {
t.Errorf("#%d (cancel): got %v; want <= 100ms", i, elapsed) t.Errorf("#%d (cancel): got %v; want <= 100ms", i, elapsed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment