Skip to content

Commit

Permalink
PYTHON-4794 Start running IPv6 tests again (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey authored Sep 30, 2024
1 parent 821811e commit e76d411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def _init_client(self):
params = self.cmd_line["parsed"].get("setParameter", {})
if params.get("enableTestCommands") == "1":
self.test_commands_enabled = True
self.has_ipv6 = self._server_started_with_ipv6()
self.has_ipv6 = self._server_started_with_ipv6()

self.is_mongos = (self.hello).get("msg") == "isdbgrid"
if self.is_mongos:
Expand Down
2 changes: 1 addition & 1 deletion test/asynchronous/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ async def _init_client(self):
params = self.cmd_line["parsed"].get("setParameter", {})
if params.get("enableTestCommands") == "1":
self.test_commands_enabled = True
self.has_ipv6 = await self._server_started_with_ipv6()
self.has_ipv6 = await self._server_started_with_ipv6()

self.is_mongos = (await self.hello).get("msg") == "isdbgrid"
if self.is_mongos:
Expand Down

0 comments on commit e76d411

Please sign in to comment.