Skip to content

Commit

Permalink
net: skip TestProtocolDialError on solaris
Browse files Browse the repository at this point in the history
Unfortunately there's no simple, easy way to make Dial{TCP,UDP} fail
consistently across all platforms. Fow now we skip the test on Solaris.

Change-Id: Ib3c55f670ac6a174fe9ea682dac7aab96b1e9dfb
Reviewed-on: https://go-review.googlesource.com/11058
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
cixtor committed Jun 16, 2015
1 parent d00e7ad commit 515e53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func TestDialError(t *testing.T) {

func TestProtocolDialError(t *testing.T) {
switch runtime.GOOS {
case "nacl":
case "nacl", "solaris":
t.Skipf("not supported on %s", runtime.GOOS)
}

Expand Down

0 comments on commit 515e53a

Please sign in to comment.