Skip to content

Commit cf1b35a

Browse files
committed
Skip spec test for TXT record with many strings
GODRIVER-553 Change-Id: Ia2a131405ac818241bf75890677bcaba0ced3c9b
1 parent e0b7d07 commit cf1b35a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/topology/initial_dns_seedlist_discovery_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"os"
1414
"path"
1515
"runtime"
16+
"strings"
1617
"testing"
1718

1819
"github.com/mongodb/mongo-go-driver/core/connstring"
@@ -73,6 +74,9 @@ func runSeedlistTest(t *testing.T, filename string, test *seedlistTestCase) {
7374
if runtime.GOOS == "windows" && filename == "two-txt-records" {
7475
t.Skip("Skipping to avoid windows multiple TXT record lookup bug")
7576
}
77+
if strings.HasPrefix(runtime.Version(), "go1.11") && (filename == "one-txt-record-multiple-strings") {
78+
t.Skip("Skipping to avoid Go 1.11 problem with multiple strings in one TXT record")
79+
}
7680

7781
cs, err := connstring.Parse(test.URI)
7882
if test.Error {

0 commit comments

Comments
 (0)