Skip to content

Commit 037afe6

Browse files
committed
attempt to fix failing test
1 parent bcfc64a commit 037afe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/asynchronous/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ async def _check_server(self) -> ServerDescription:
250250
except (OperationFailure, NotPrimaryError) as exc:
251251
# Update max cluster time even when hello fails.
252252
details = cast(Mapping[str, Any], exc.details)
253-
self._topology.receive_cluster_time(details.get("$clusterTime"))
253+
await self._topology.receive_cluster_time(details.get("$clusterTime"))
254254
raise
255255
except ReferenceError:
256256
raise

0 commit comments

Comments
 (0)