Skip to content

Commit 85cc1aa

Browse files
vbabaninstIncMale
andcommitted
Update driver-core/src/test/unit/com/mongodb/connection/ServerSelectionSelectionTest.java
Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
1 parent 777ced9 commit 85cc1aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/test/unit/com/mongodb/connection/ServerSelectionSelectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ private static Cluster.ServersSnapshot createServersSnapshot(
310310
Map<ServerAddress, Server> serverMap = new HashMap<>();
311311
for (ServerDescription desc : clusterDescription.getServerDescriptions()) {
312312
serverMap.put(desc.getAddress(), MongoMockito.mock(Server.class, server -> {
313-
// Operation count selector should select any server since they all have 0 operation count.
313+
// `MinimumOperationCountServerSelector` should select any server since they all have 0 operation count.
314314
when(server.operationCount()).thenReturn(0);
315315
}));
316316
}

0 commit comments

Comments
 (0)