Skip to content

Commit 5e33ee4

Browse files
committed
CDRIVER-4035 use runAdminCommand.arguments.readPreference (#876)
1 parent 3c9a291 commit 5e33ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/tests/json-test-operations.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2568,7 +2568,7 @@ json_test_operation (json_test_ctx_t *ctx,
25682568
test_framework_set_ssl_opts (client);
25692569
admin_db = mongoc_client_get_database (client, "admin");
25702570
bson_destroy (reply);
2571-
res = command (admin_db, test, operation, session, NULL, reply);
2571+
res = command (admin_db, test, operation, session, read_prefs, reply);
25722572
if (!res) {
25732573
test_error ("admin command failed: %s", bson_as_json (reply, NULL));
25742574
}

0 commit comments

Comments
 (0)