Skip to content

Commit

Permalink
CXX-2138 Implement versioned API (#792)
Browse files Browse the repository at this point in the history
* Allow configuration of server API on a Client
* Add versioned API spec tests
* Use server_description_hello_response instead of legacy command
* Add batchSize workaround for getMore in CM spec tests
  • Loading branch information
benjirewis committed May 26, 2021
1 parent 7006bab commit c585e14
Show file tree
Hide file tree
Showing 22 changed files with 3,218 additions and 22 deletions.
1 change: 1 addition & 0 deletions .mci.yml
Expand Up @@ -331,6 +331,7 @@ functions:
export RETRYABLE_READS_TESTS_PATH="$(pwd)/../data/retryable-reads"
export READ_WRITE_CONCERN_OPERATION_TESTS_PATH="$(pwd)/../data/read-write-concern/operation"
export UNIFIED_FORMAT_TESTS_PATH=$(pwd)/../data/unified-format
export VERSIONED_API_TESTS_PATH=$(pwd)/../data/versioned-api
# export environment variables for encryption tests
set +o errexit
Expand Down
4 changes: 2 additions & 2 deletions data/unified-format/valid-pass/poc-command-monitoring.json
Expand Up @@ -149,7 +149,7 @@
]
},
"collection": "test",
"batchSize": 1
"batchSize": 3
},
"commandName": "getMore",
"databaseName": "command-monitoring-tests"
Expand Down Expand Up @@ -219,4 +219,4 @@
]
}
]
}
}

0 comments on commit c585e14

Please sign in to comment.