From ad0f8fb5bed6b20dc665afe6c3eb9b6a225dfb15 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 16:12:20 +0100 Subject: [PATCH 1/3] Bump tests/drivers-evergreen-tools from `2c6869e` to `1513f49` (#1602) Bumps [tests/drivers-evergreen-tools](https://github.com/mongodb-labs/drivers-evergreen-tools) from `2c6869e` to `1513f49`. - [Commits](https://github.com/mongodb-labs/drivers-evergreen-tools/compare/2c6869e36d99564e8f403534702c3c142131ef0f...1513f4964048be964a598cf7255f14f1d34accb5) --- updated-dependencies: - dependency-name: tests/drivers-evergreen-tools dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- tests/drivers-evergreen-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/drivers-evergreen-tools b/tests/drivers-evergreen-tools index 2c6869e36..1513f4964 160000 --- a/tests/drivers-evergreen-tools +++ b/tests/drivers-evergreen-tools @@ -1 +1 @@ -Subproject commit 2c6869e36d99564e8f403534702c3c142131ef0f +Subproject commit 1513f4964048be964a598cf7255f14f1d34accb5 From fda4a4c70d62cbe4e379e17b4670310d25e967af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 10:53:38 -0500 Subject: [PATCH 2/3] Bump tests/specifications from `585b797` to `449d039` (#1601) Bumps [tests/specifications](https://github.com/mongodb/specifications) from `585b797` to `449d039`. - [Release notes](https://github.com/mongodb/specifications/releases) - [Commits](https://github.com/mongodb/specifications/compare/585b797c110b6709f81def6200b946b94c8d9c55...449d0397bbaf3d41d23f14453e4702e0251027b4) --- updated-dependencies: - dependency-name: tests/specifications dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- tests/specifications | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/specifications b/tests/specifications index 585b797c1..449d0397b 160000 --- a/tests/specifications +++ b/tests/specifications @@ -1 +1 @@ -Subproject commit 585b797c110b6709f81def6200b946b94c8d9c55 +Subproject commit 449d0397bbaf3d41d23f14453e4702e0251027b4 From d1aea99c3b5ad66f2980f252cf8aeda7effd3715 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Tue, 25 Feb 2025 10:27:28 -0500 Subject: [PATCH 3/3] PHPLIB-1582: Unskip spec tests for distinct hint option (#1606) This was missed in 577ced60e33bc15e31e589f53ccc4ccc013b8b68. --- tests/UnifiedSpecTests/UnifiedSpecTest.php | 1 - tests/UnifiedSpecTests/Util.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/UnifiedSpecTests/UnifiedSpecTest.php b/tests/UnifiedSpecTests/UnifiedSpecTest.php index 1c4df0478..5dad387fb 100644 --- a/tests/UnifiedSpecTests/UnifiedSpecTest.php +++ b/tests/UnifiedSpecTests/UnifiedSpecTest.php @@ -43,7 +43,6 @@ class UnifiedSpecTest extends FunctionalTestCase 'crud/replaceOne-sort' => 'Sort for replace operations is not supported (PHPLIB-1492)', 'crud/updateOne-sort' => 'Sort for update operations is not supported (PHPLIB-1492)', 'crud/bypassDocumentValidation' => 'bypassDocumentValidation is handled by libmongoc (PHPLIB-1576)', - 'crud/distinct-hint' => 'Hint for distinct operations is not supported (PHPLIB-1582)', ]; /** @var array */ diff --git a/tests/UnifiedSpecTests/Util.php b/tests/UnifiedSpecTests/Util.php index b0d575d39..8adb2923a 100644 --- a/tests/UnifiedSpecTests/Util.php +++ b/tests/UnifiedSpecTests/Util.php @@ -98,7 +98,7 @@ final class Util 'deleteMany' => ['let', 'filter', 'session', 'collation', 'hint', 'comment'], 'deleteOne' => ['let', 'filter', 'session', 'collation', 'hint', 'comment'], 'findOneAndDelete' => ['let', 'filter', 'session', 'projection', 'arrayFilters', 'bypassDocumentValidation', 'collation', 'hint', 'maxTimeMS', 'new', 'sort', 'update', 'upsert', 'comment'], - 'distinct' => ['fieldName', 'filter', 'session', 'collation', 'maxTimeMS', 'comment'], + 'distinct' => ['fieldName', 'filter', 'session', 'collation', 'maxTimeMS', 'comment', 'hint'], 'drop' => ['session', 'comment'], 'dropSearchIndex' => ['name'], 'find' => ['let', 'filter', 'session', 'allowDiskUse', 'allowPartialResults', 'batchSize', 'collation', 'comment', 'cursorType', 'hint', 'limit', 'max', 'maxAwaitTimeMS', 'maxScan', 'maxTimeMS', 'min', 'modifiers', 'noCursorTimeout', 'oplogReplay', 'projection', 'returnKey', 'showRecordId', 'skip', 'snapshot', 'sort'],