From b4286c30c6bf65c18de35c2108466bc3cef4e6cd Mon Sep 17 00:00:00 2001 From: Thomas Reggi Date: Wed, 26 Aug 2020 12:41:19 -0400 Subject: [PATCH] chore: fixes MacOS OCSP tests --- .evergreen/config.yml | 2 +- test/functional/operation_generators_example.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index c538079a69..394c6371af 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -375,7 +375,7 @@ functions: UNIFIED=${UNIFIED} \ CA_FILE="$DRIVERS_TOOLS/.evergreen/ocsp/rsa/ca.pem" \ OCSP_TLS_SHOULD_SUCCEED="${OCSP_TLS_SHOULD_SUCCEED}" \ - sh ${PROJECT_DIRECTORY}/.evergreen/run-ocsp-tests.sh + bash ${PROJECT_DIRECTORY}/.evergreen/run-ocsp-tests.sh run-valid-ocsp-server: - command: shell.exec params: diff --git a/test/functional/operation_generators_example.test.js b/test/functional/operation_generators_example.test.js index 2b4fbf8aae..30a144d756 100644 --- a/test/functional/operation_generators_example.test.js +++ b/test/functional/operation_generators_example.test.js @@ -2220,7 +2220,7 @@ describe('Operation (Generators)', function() { yield collection.insertMany([{ a: 1 }, { b: 2 }], { w: 1 }); // Remove all the document - collection.removeMany(); + yield collection.removeMany(); // Fetch all results var items = yield collection.find().toArray();