Skip to content

DRIVERS-3134: pre-populate pool in flaky CSOT runCommandCursor test #1769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ tests:
runOnRequirements:
- serverless: forbid
operations:
# pre-populate the pool with a connection
- name: find
object: collection
arguments:
filter: { _id: 0 }
expectResult: []
# Block find/getMore for 60ms.
- name: failPoint
object: testRunner
Expand Down Expand Up @@ -97,6 +103,9 @@ tests:
expectEvents:
- client: *client
events:
# first find is from the initial find to populate the connection poo
- commandStartedEvent:
commandName: find
- commandStartedEvent:
commandName: find
command:
Expand Down
Loading