Skip to content

Commit 515e53a

Browse files
committed
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 <[email protected]>
1 parent d00e7ad commit 515e53a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func TestDialError(t *testing.T) {
161161

162162
func TestProtocolDialError(t *testing.T) {
163163
switch runtime.GOOS {
164-
case "nacl":
164+
case "nacl", "solaris":
165165
t.Skipf("not supported on %s", runtime.GOOS)
166166
}
167167

0 commit comments

Comments
 (0)