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

Remove Prose22_RangeExplicitEncryptionTest that requires ext-mongodb < 1.20 #1394

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Sep 12, 2024

This test class is skipped for ext-mongodb >= 1.20dev since #1351

And ext-mongodb >= 1.20 is required since #1350

Conclusion: this tests are always skipped.

@GromNaN GromNaN requested a review from a team as a code owner September 12, 2024 13:33
@GromNaN GromNaN requested review from alcaeus and jmikola and removed request for alcaeus September 12, 2024 13:33
@GromNaN GromNaN force-pushed the remove-prose22 branch 3 times, most recently from e2e89b5 to 3ea51e7 Compare September 12, 2024 14:53
@alcaeus alcaeus removed the request for review from jmikola September 13, 2024 12:08
@GromNaN GromNaN force-pushed the remove-prose22 branch 3 times, most recently from da7b9dc to d679db2 Compare September 13, 2024 12:46
@GromNaN GromNaN merged commit 0ed8dff into mongodb:v1.x Sep 13, 2024
31 checks passed
@GromNaN GromNaN deleted the remove-prose22 branch September 13, 2024 13:08

if (version_compare(phpversion('mongodb'), '1.20.0dev', '>=')) {
$this->markTestIncomplete('Range protocol V1 is not supported by ext-mongodb 1.20+');
}
Copy link
Member

Choose a reason for hiding this comment

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

This should still be a valid prose test. I think the problem is that I didn't remove this skip when adding the server 8.0+ requirement below in 0b16223.

Based on the prose test definition, it should be run for server 8.0+ and libmongocrypt 1.11+. The accompanying JSON files have already been updated for QEv2 (since mongodb/specifications@9bfa512).

Copy link
Member

Choose a reason for hiding this comment

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

See: #1400

GromNaN added a commit to GromNaN/mongo-php-library that referenced this pull request Sep 13, 2024
GromNaN added a commit that referenced this pull request Sep 13, 2024
* Revert "Remove Prose22_RangeExplicitEncryptionTest that requires ext-mongodb < 1.20 (#1394)"

This reverts commit 0ed8dff.

* Keep removing useless skip
* Replace getCastCallableForType with a cast function
alcaeus added a commit that referenced this pull request Sep 19, 2024
* v1.x: (87 commits)
  Performance: Keep collections and indexes between GridFS tests (#1421)
  Add final annotations to non-internal Operation classes (#1410)
  Fix types accepted by $round (#1401)
  Replace arrayHasKey with assertArrayHasKey in tests (#1403)
  PHPLIB-1514 Make data providers static (#1404)
  PHPLIB-1515 Replace assertObjectHasAttribute with assertObjectHasProperty (#1405)
  Restore Prose22_RangeExplicitEncryptionTest (#1400)
  Remove Prose22_RangeExplicitEncryptionTest that requires ext-mongodb < 1.20 (#1394)
  Use `match` instead of `switch` when a simple value is returned (#1393)
  Remove PHPUnit functions polyfill (#1395)
  Update branch names for GHA workflows (#1390)
  PHPLIB-1419 Encode Agg builder objects in Collection methods (#1383)
  PHPLIB-1420 Integrate query builder for non-aggregation APIs (#1385)
  Fix optional parameter declared before required parameter (#1384)
  PHPLIB-1505 Add driver option "builderEncoder" (#1382)
  Exclude rector.php from the artifact
  Check generated files are up-to-date
  Replace composer package mongodb/builder
  Skip Pedentry method sort for generated files
  Remove composer constraints already imposed by the main package
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants