Merge: mongodb: Fixed failing test for `aggregate` method.
authorJean Privat <jean@pryen.org>
Mon, 19 Aug 2019 18:43:08 +0000 (14:43 -0400)
committerJean Privat <jean@pryen.org>
Mon, 19 Aug 2019 18:43:08 +0000 (14:43 -0400)
commit207b7f4bae6e693ead4d3f4f7184b48df2a3f432
treece12e87a55397f490fe9a09986368e2410e360fe
parent7491f5b1d5910bc3030b42234885615acef8e98f
parent8be048e22d937c87ac37e9214654847e092663bd
Merge: mongodb: Fixed failing test for `aggregate` method.

The test assumed the query would return in some order when it is not.
Added a "$sort" stage to the pipeline to avoid miss index asserts.

This PR fixed gitlab-ci test pipeline.

Signed-off-by: Louis-Vincent Boudreault <lv.boudreault95@gmail.com>

Pull-Request: #2783