Details
-
Improvement
-
Resolution: Done
-
Unknown
-
None
-
None
-
None
Description
The test com.mongodb.client.model.AggregatesTest#testDocumentsLookup is failing against the mainline server build (post 7.0 release). The pipeline is:
[
|
{'$lookup': {'from': 'ignored', 'pipeline': [{'$documents': [{'a': 5}]}], 'as': 'added'}}
|
]
|
and the server error is:
{
|
"ok": 0.0,
|
"errmsg": "'$documents' can only be run with {aggregate: 1}",
|
"code": 73,
|
"codeName": "InvalidNamespace"}
|
Checking with query execution team whether this change is intentional, but meanwhile we should at least disable the test.