Skip to content

Commit 5e5fba9

Browse files
Bump testdata/specifications from d9d69f5 to 70a628b (#2576)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
1 parent ac30cac commit 5e5fba9

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

internal/integration/initial_dns_seedlist_discovery_test.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ func runSeedlistDiscoveryPingTest(mt *mtest.T, clientOpts *options.ClientOptions
9191
}
9292

9393
func runSeedlistDiscoveryTest(mt *mtest.T, file string) {
94+
spectest.CheckSkip(mt.T,
95+
spectest.WithTopology(string(mtest.ClusterTopologyKind())),
96+
spectest.WithServerVersion(mtest.ServerVersion()))
97+
9498
content, err := os.ReadFile(file)
9599
assert.Nil(mt, err, "ReadFile error for %v: %v", file, err)
96100

@@ -261,7 +265,8 @@ func getServerByAddress(address string, topo *topology.Topology) (description.Se
261265
}
262266

263267
return []description.Server{}, nil
264-
})
268+
},
269+
)
265270

266271
selectedServer, err := topo.SelectServer(context.Background(), selectByName)
267272
if err != nil {

internal/spectest/skip.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,18 @@ var skipTests = map[string][]skipCase{
10921092
},
10931093
},
10941094
},
1095+
1096+
// TODO(GODRIVER-3953): Support configurable DNS domain validation for SRV
1097+
// records.
1098+
"Support configurable DNS domain validation for SRV records (GODRIVER-3953)": {
1099+
{
1100+
tests: []string{
1101+
"TestInitialDNSSeedlistDiscoverySpec/replica_set/srvAllowedHostsSuffix-psl-not-public-suffix.json",
1102+
"TestInitialDNSSeedlistDiscoverySpec/replica_set/srvAllowedHostsSuffix-psl-public-suffix-capitalized.json",
1103+
"TestInitialDNSSeedlistDiscoverySpec/replica_set/srvAllowedHostsSuffix-psl-public-suffix.json",
1104+
},
1105+
},
1106+
},
10951107
}
10961108

10971109
type options struct {

testdata/specifications

Submodule specifications updated 38 files

0 commit comments

Comments
 (0)