We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
________________________________________________________________________________ test_MongoDBReplicaSet_writable _________________________________________________________________________________ def test_MongoDBReplicaSet_writable(): rs = service.MongoDBReplicaSet() > rs.start() jaraco/mongodb/tests/test_service.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ jaraco/mongodb/service.py:182: in start self.instances[0].connect().admin.command( .tox/py/lib/python3.11/site-packages/pymongo/_csot.py:106: in csot_wrapper return func(self, *args, **kwargs) .tox/py/lib/python3.11/site-packages/pymongo/database.py:820: in command with self.__client._socket_for_reads(read_preference, session) as ( .tox/py/lib/python3.11/site-packages/pymongo/mongo_client.py:1307: in _socket_for_reads server = self._select_server(read_preference, session) .tox/py/lib/python3.11/site-packages/pymongo/mongo_client.py:1268: in _select_server server = topology.select_server(server_selector) .tox/py/lib/python3.11/site-packages/pymongo/topology.py:271: in select_server server = self._select_server(selector, server_selection_timeout, address) .tox/py/lib/python3.11/site-packages/pymongo/topology.py:260: in _select_server servers = self.select_servers(selector, server_selection_timeout, address) .tox/py/lib/python3.11/site-packages/pymongo/topology.py:223: in select_servers server_descriptions = self._select_servers_loop(selector, server_timeout, address) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <Topology <TopologyDescription id: 64c40d1cdd889f844f717b74, topology_type: Unknown, servers: [<ServerDescription ('localhost', 62319) server_type: RSGhost, rtt: 0.0008702912513399498>]>> selector = Primary(), timeout = 30, address = None def _select_servers_loop(self, selector, timeout, address): """select_servers() guts. Hold the lock when calling this.""" now = time.monotonic() end_time = now + timeout server_descriptions = self._description.apply_selector( selector, address, custom_selector=self._settings.server_selector ) while not server_descriptions: # No suitable servers. if timeout == 0 or now > end_time: > raise ServerSelectionTimeoutError( f"{self._error_message(selector)}, Timeout: {timeout}s, Topology Description: {self.description!r}" ) E pymongo.errors.ServerSelectionTimeoutError: No servers match selector "Primary()", Timeout: 30s, Topology Description: <TopologyDescription id: 64c40d1cdd889f844f717b74, topology_type: Unknown, servers: [<ServerDescription ('localhost', 62319) server_type: RSGhost, rtt: 0.0008702912513399498>]> .tox/py/lib/python3.11/site-packages/pymongo/topology.py:238: ServerSelectionTimeoutError
The text was updated successfully, but these errors were encountered:
Mark test as xfail. Ref #31.
a612e75
No branches or pull requests
The text was updated successfully, but these errors were encountered: