From 515e53a0518ac7de3dba540f6163101f9303a714 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Sun, 14 Jun 2015 09:01:23 +0900 Subject: [PATCH] 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 --- src/net/error_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/error_test.go b/src/net/error_test.go index e01b58e6c5..bf95ff6108 100644 --- a/src/net/error_test.go +++ b/src/net/error_test.go @@ -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) } -- 2.48.1