Skip to content

Commit f8eff8d

Browse files
committed
PHPLIB-912: showExpandedEvents test fix for spurious mongos failures
Reverts previous skip added in a35e09e Synced with mongodb/specifications@5174162
1 parent ca0ce93 commit f8eff8d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

tests/UnifiedSpecTests/UnifiedSpecTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ class UnifiedSpecTest extends FunctionalTestCase
6464
'valid-pass/createEntities-operation: createEntities operation' => 'CSOT is not yet implemented (PHPC-1760)',
6565
'valid-pass/entity-cursor-iterateOnce: iterateOnce' => 'CSOT is not yet implemented (PHPC-1760)',
6666
'valid-pass/matches-lte-operator: special lte matching operator' => 'CSOT is not yet implemented (PHPC-1760)',
67-
// Fails on sharded clusters
68-
'change-streams/change-streams-showExpandedEvents: when showExpandedEvents is true, createIndex events are reported' => 'Fails on sharded clusters (PHPLIB-912)',
6967
];
7068

7169
/** @var UnifiedTestRunner */

tests/UnifiedSpecTests/change-streams/change-streams-showExpandedEvents.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,15 @@
275275
"name": "createChangeStream",
276276
"object": "collection0",
277277
"arguments": {
278-
"pipeline": [],
278+
"pipeline": [
279+
{
280+
"$match": {
281+
"operationType": {
282+
"$ne": "create"
283+
}
284+
}
285+
}
286+
],
279287
"showExpandedEvents": true
280288
},
281289
"saveResultAsEntity": "changeStream0"

0 commit comments

Comments
 (0)