Skip to content

Commit

Permalink
Disable TimeSeries test for unsupported server versions.
Browse files Browse the repository at this point in the history
Original Pull Request: #4114
  • Loading branch information
christophstrobl committed Sep 6, 2024
1 parent ecc3f8f commit 9afa237
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import org.springframework.data.mongodb.core.mapping.MongoMappingContext;
import org.springframework.data.mongodb.core.mapping.TimeSeries;
import org.springframework.data.mongodb.test.util.Client;
import org.springframework.data.mongodb.test.util.EnableIfMongoServerVersion;
import org.springframework.data.mongodb.test.util.MongoClientExtension;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ContextConfiguration;
Expand Down Expand Up @@ -164,6 +165,7 @@ public void evaluatesTimeoutSpelExpresssionWithBeanReference() {
}

@Test // GH-4099
@EnableIfMongoServerVersion(isGreaterThanEqual = "6.0")
@DirtiesContext
public void evaluatesTimeSeriesTimeoutSpelExpresssionWithBeanReference() {

Expand Down

0 comments on commit 9afa237

Please sign in to comment.