1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00

net: skip TestProtocolDialError on solaris

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 <iant@golang.org>
This commit is contained in:
Mikio Hara 2015-06-14 09:01:23 +09:00
parent d00e7ad640
commit 515e53a051

View File

@ -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)
}