Skip to content

Commit 08c1164

Browse files
committed
Fix config.
1 parent 6814a58 commit 08c1164

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,12 @@ void overloadErrorRetriedOnDifferentReplicaSetServer() throws InterruptedExcepti
115115
+ " configureFailPoint: \"failCommand\",\n"
116116
+ " mode: { times: 1 },\n"
117117
+ " data: {\n"
118-
+ " failCommands: [\"insert\"],\n"
118+
+ " failCommands: [\"find\"],\n"
119119
+ " errorLabels: ['" + RETRYABLE_ERROR_LABEL + "', '" + SYSTEM_OVERLOADED_ERROR_LABEL + "'],\n"
120120
+ " errorCode: 6\n"
121121
+ " }\n"
122122
+ "}\n");
123123

124-
125124
try (FailPoint ignored = FailPoint.enable(configureFailPoint, primaryServerAddress);
126125
MongoClient client = createClient(getMongoClientSettingsBuilder()
127126
.retryReads(true)

0 commit comments

Comments
 (0)