Skip to content

Commit

Permalink
restrict server version
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed May 13, 2024
1 parent 07830d9 commit 7015cf4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package dev.morphia.test.aggregation.stages;

import com.github.zafarkhaja.semver.Version;

import dev.morphia.test.ServerVersion;
import dev.morphia.test.aggregation.AggregationTest;

Expand Down Expand Up @@ -47,6 +49,7 @@ public void testExample2() {

@Test
public void testExample3() {
serverIsAtLeastVersion(Version.of(6));
testPipeline(ServerVersion.ANY, false, true, (aggregation) -> aggregation.pipeline(
unionWith(
documents(
Expand Down

0 comments on commit 7015cf4

Please sign in to comment.