Guard tests for $lookup with let & pipeline

Add guard to skip tests prior to 5.0 server version.

Related to: #3322
This commit is contained in:
Christoph Strobl
2023-02-16 09:32:32 +01:00
parent 4d050f5021
commit 368c644922

View File

@@ -1520,6 +1520,7 @@ public class AggregationTests {
}
@Test // GH-3322
@EnableIfMongoServerVersion(isGreaterThanEqual = "5.0")
void shouldLookupPeopleCorrectlyWithPipeline() {
createUsersWithReferencedPersons();
@@ -1538,6 +1539,7 @@ public class AggregationTests {
}
@Test // GH-3322
@EnableIfMongoServerVersion(isGreaterThanEqual = "5.0")
void shouldLookupPeopleCorrectlyWithPipelineAndLet() {
createUsersWithReferencedPersons();