diff options
author | George Wangensteen <george.wangensteen@mongodb.com> | 2023-04-10 04:34:50 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-10 05:13:18 +0000 |
commit | c6e5701933a98b4fe91c2409c212fcce2d3d34f0 (patch) | |
tree | 4ed7d170b72523beecb2c599ab4c8877a8fb4990 /buildscripts/resmokeconfig | |
parent | a37946ca13ae1d1bab79b8e47fd9d70d2ee0cf27 (diff) | |
download | mongo-c6e5701933a98b4fe91c2409c212fcce2d3d34f0.tar.gz |
SERVER-75725 Control TaskExecutorCursor's connection-pinning behavior with a server parameter and add appropriate testing. In this PR, we:
- Remove the now-obsolete getCallbackHandle interface from TEC.
- Hook up the TEC default pinConnection-parameter to the relevant server parameter
- Add a new suite running all search tests with that server parameter enabled
- Fix a small bug to ensure we use the SSL mode provided by the request in PCTE
- Fix a small bug to appropriately handle the case where we can't acquire a stream from the transport layer
Diffstat (limited to 'buildscripts/resmokeconfig')
-rw-r--r-- | buildscripts/resmokeconfig/suites/search_pinned_connections_auth.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/search_pinned_connections_auth.yml b/buildscripts/resmokeconfig/suites/search_pinned_connections_auth.yml new file mode 100644 index 00000000000..0fd19d6e3f1 --- /dev/null +++ b/buildscripts/resmokeconfig/suites/search_pinned_connections_auth.yml @@ -0,0 +1,23 @@ +config_variables: +- &keyFile jstests/libs/authTestsKey +- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly + +test_kind: js_test + +selector: + roots: + - src/mongo/db/modules/*/jstests/search/*.js + +executor: + config: + shell_options: + global_vars: + TestData: + auth: true + authMechanism: SCRAM-SHA-256 + keyFile: *keyFile + keyFileData: *keyFileData + roleGraphInvalidationIsFatal: true + setParameters: + pinTaskExecCursorConns: true + nodb: '' |