Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .evergreen/run-csfle-tests-with-mongocryptd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ echo "Running tests with Java ${JAVA_VERSION}"
${GRADLE_EXTRA_VARS} \
-Dorg.mongodb.test.fle.on.demand.credential.test.failure.enabled=true \
--stacktrace --info --continue \
driver-legacy:test \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legacy tests don't use the unified test runner (this was missed when migrating from the legacy runner)

--tests "*.Client*Encryption*" \
driver-sync:test \
--tests "*.Client*Encryption*" \
driver-reactive-streams:test \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ public void executeAsync(final AsyncWriteBinding binding, final SingleResultCall
*
* @return the list of commands to run to create the collection
*/
private List<Supplier<BsonDocument>> getCommands(final BsonDocument encryptedFields) {
if (encryptedFields == null) {
private List<Supplier<BsonDocument>> getCommands(@Nullable final BsonDocument encryptedFields) {
if (encryptedFields == null || encryptedFields.isEmpty()) {
return singletonList(this::dropCollectionCommand);
} else {
return asList(
Expand Down