Skip to content

Commit

Permalink
Skip spec test for TXT record with many strings
Browse files Browse the repository at this point in the history
GODRIVER-553

Change-Id: Ia2a131405ac818241bf75890677bcaba0ced3c9b
  • Loading branch information
skriptble committed Sep 14, 2018
1 parent e0b7d07 commit cf1b35a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/topology/initial_dns_seedlist_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"os"
"path"
"runtime"
"strings"
"testing"

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

cs, err := connstring.Parse(test.URI)
if test.Error {
Expand Down

0 comments on commit cf1b35a

Please sign in to comment.