mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
d00e7ad640
commit
515e53a051
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue