Skip to content

Commit 6814a58

Browse files
committed
Change to find.
1 parent 0b8a594 commit 6814a58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-sync/src/test/functional/com/mongodb/client/AbstractRetryableReadsProseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void overloadErrorRetriedOnDifferentReplicaSetServer() throws InterruptedExcepti
134134
commandListener.reset();
135135

136136
//when
137-
collection.insertOne(new Document());
137+
collection.find().first();
138138

139139
//then
140140
List<CommandFailedEvent> commandFailedEvents = commandListener.getCommandFailedEvents();

0 commit comments

Comments
 (0)