Skip to content

Commit a038ca0

Browse files
committed
fix mistaken revert in test_client_kill_cursor
1 parent 410b49d commit a038ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-mongoc-cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ _test_client_kill_cursor (bool has_primary)
351351

352352
future = future_cursor_next (cursor, &doc);
353353

354-
request = mock_rs_receives_query (rs, "test.test", MONGOC_QUERY_NONE,
354+
request = mock_rs_receives_query (rs, "test.test", MONGOC_QUERY_SLAVE_OK,
355355
0, 0, "{}", NULL);
356356

357357
assert (mock_rs_request_is_to_secondary (rs, request));

0 commit comments

Comments
 (0)