File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
driver-core/src/test/functional/com/mongodb/client/model/mql Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2929import java .util .Arrays ;
3030
3131import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
32+ import static com .mongodb .ClusterFixture .serverVersionLessThan ;
3233import static com .mongodb .client .model .mql .MqlValues .of ;
3334import static com .mongodb .client .model .mql .MqlValues .ofIntegerArray ;
3435import static com .mongodb .client .model .mql .MqlValues .ofMap ;
@@ -173,6 +174,8 @@ public void isMapOrTest() {
173174
174175 @ Test
175176 public void asStringTest () {
177+ assumeTrue (serverVersionLessThan (8 , 2 )); // TODO JAVA-5960
178+
176179 // https://www.mongodb.com/docs/manual/reference/operator/aggregation/toString/
177180 // asString, since toString conflicts
178181 assertExpression ("false" , of (false ).asString (), "{'$toString': [false]}" );
You can’t perform that action at this time.
0 commit comments