]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip TestLookupLongTXT on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 23 Nov 2017 11:46:18 +0000 (12:46 +0100)
committerDavid du Colombier <0intro@gmail.com>
Thu, 23 Nov 2017 16:45:24 +0000 (16:45 +0000)
CL 79555 added TestLookupLongTXT. However, this test is
failing on Plan 9, because the DNS resolver (ndb/dns)
only returns a single TXT record.

Updates #22857.

Change-Id: I33cdc63a3d3de4d1c7f2684934316c44992fb9e2
Reviewed-on: https://go-review.googlesource.com/79695
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/lookup_test.go

index 4a9f6c664d04584a53495cc3d1776ddb73114714..e3bf114a8e2cc620b000da1c20f7dba81c6e28d4 100644 (file)
@@ -306,6 +306,9 @@ func TestLookupGoogleHost(t *testing.T) {
 }
 
 func TestLookupLongTXT(t *testing.T) {
+       if runtime.GOOS == "plan9" {
+               t.Skip("skipping on plan9; see https://golang.org/issue/22857")
+       }
        if testenv.Builder() == "" {
                testenv.MustHaveExternalNetwork(t)
        }