-
Notifications
You must be signed in to change notification settings - Fork 265
Fix failing tests #1815
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
Fix failing tests #1815
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2.x #1815 +/- ##
=========================================
Coverage 87.72% 87.72%
Complexity 3195 3195
=========================================
Files 424 424
Lines 6296 6296
=========================================
Hits 5523 5523
Misses 773 773
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| 'sessions/snapshot-sessions: Find operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', | ||
| 'sessions/snapshot-sessions: Distinct operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', | ||
| 'sessions/snapshot-sessions: Aggregate operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', | ||
| 'sessions/snapshot-sessions: countDocuments operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', | ||
| 'sessions/snapshot-sessions: Mixed operation with snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', | ||
| 'sessions/snapshot-sessions: Write commands with snapshot session do not affect snapshot reads' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', | ||
| 'sessions/implicit sessions default causal consistency: afterClusterTime is not sent on retried read in implicit session when readConcern level is snapshot' => 'Cluster time is not sent in first command sent out on single-threaded connections (PHPC-2655)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you have to skip this tests now, without updating the specifications submodule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch pulls in the newer extension version, which brings in libmongoc 2.2.1. An issue (CDRIVER-6173) breaks cluster time gossiping for single-threaded connections, breaking these tests.
This fixes failing tests related to QE support for bulk writes (PHPLIB-1712) as well as those related to the cluster time gossiping for single-threaded connections (PHPC-2655). Note that while we may fully support QE in bulk writes, this is tested using recently added encryption support in the unified test format which we have not implemented yet (PHPLIB-1630).