Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions test/asynchronous/test_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,17 +416,6 @@ async def test_15_accept_an_underscore_in_srv_allowed_hosts_suffix(self):
)
self.assertEqual(["cluster.my_domain.net"], [node[0] for node in res["nodelist"]])

async def test_srv_hostname_with_three_or_more_parts_may_equal_the_returned_hostname(
self,
):
test_cases = [
{
"query": "_mongodb._tcp.blogs.mongodb.com",
"mock_target": "blogs.mongodb.com",
},
]
await self.run_initial_dns_seedlist_discovery_prose_tests(test_cases)


class TestPublicSuffixListParsing(unittest.TestCase):
def test_1_multi_label_ordinary_rule(self):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"uri": "mongodb+srv://test.build.10gen.cc/",
"seeds": [
"test.build.10gen.cc:27017"
],
"ping": false,
"comment": "Should not throw when SRV hostname and resolved hostname are identical and SRV hostname has four dot-separated parts."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"uri": "mongodb+srv://build.10gen.cc/",
"seeds": [
"build.10gen.cc:27017"
],
"ping": false,
"comment": "Should not throw when SRV hostname and resolved hostname are identical and SRV hostname has three dot-separated parts."
}
11 changes: 0 additions & 11 deletions test/test_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,17 +412,6 @@ def test_15_accept_an_underscore_in_srv_allowed_hosts_suffix(self):
)
self.assertEqual(["cluster.my_domain.net"], [node[0] for node in res["nodelist"]])

def test_srv_hostname_with_three_or_more_parts_may_equal_the_returned_hostname(
self,
):
test_cases = [
{
"query": "_mongodb._tcp.blogs.mongodb.com",
"mock_target": "blogs.mongodb.com",
},
]
self.run_initial_dns_seedlist_discovery_prose_tests(test_cases)


class TestPublicSuffixListParsing(unittest.TestCase):
def test_1_multi_label_ordinary_rule(self):
Expand Down
Loading