Add support for a dbclientcursor style api which uses the task executor to establish cursors, fetch batches and kill cursors. This is to offer a simple api which is opCtx interruptible and uses the newer connection pool code.
29 lines
883 B
YAML
29 lines
883 B
YAML
test_kind: cpp_integration_test
|
|
|
|
selector:
|
|
root: build/integration_tests.txt
|
|
exclude_files:
|
|
- build/integration_tests/dbclient_connection_integration_test* # Needs connection to single host.
|
|
- build/integration_tests/task_executor_cursor_integration_test* # Needs connection to single host.
|
|
|
|
executor:
|
|
archive:
|
|
hooks:
|
|
- CheckReplDBHash
|
|
- CheckReplOplogs
|
|
- ValidateCollections
|
|
config: {}
|
|
hooks:
|
|
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
|
|
# on the secondaries, so we run the ValidateCollections hook after it to ensure we're
|
|
# validating the entire contents of the collection.
|
|
- class: CheckReplOplogs
|
|
- class: CheckReplDBHash
|
|
- class: ValidateCollections
|
|
fixture:
|
|
class: ReplicaSetFixture
|
|
mongod_options:
|
|
set_parameters:
|
|
enableTestCommands: 1
|
|
num_nodes: 2
|