Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(NODE-5969): convert CSFLE corpus test #6 to TS, async/await and add write concerns to all CRUD operations #4029

Merged
merged 9 commits into from
Mar 9, 2024

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Mar 8, 2024

Description

What is changing?

Converts the FLE corpus #6 tests to typescript, refactors to use async-await and a few other fixes. Notably, this PR adds a write concern to all createCollection & insertMany operations in the tests, which seems to have resolved the flakiness of the tests.

Is there new documentation needed for these changes?

What is the motivation for this change?

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson changed the title convert client side encryption corpus test to TS ci(NODE-5969): convert CSFLE corpus test #6 to TS, async/await and add write concerns to all CRUD operations Mar 8, 2024
@baileympearson baileympearson changed the title ci(NODE-5969): convert CSFLE corpus test #6 to TS, async/await and add write concerns to all CRUD operations test(NODE-5969): convert CSFLE corpus test #6 to TS, async/await and add write concerns to all CRUD operations Mar 8, 2024
@baileympearson baileympearson marked this pull request as ready for review March 8, 2024 22:08
@nbbeeken nbbeeken self-assigned this Mar 8, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Mar 8, 2024
@baileympearson baileympearson requested a review from nbbeeken March 8, 2024 22:37
@nbbeeken nbbeeken merged commit 31f1eed into main Mar 9, 2024
20 of 25 checks passed
@nbbeeken nbbeeken deleted the debug-failing-corpus-tests branch March 9, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants