Skip to content

Commit

Permalink
Disable failing unified CRUD tests (#1381)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyemin committed Jun 7, 2024
1 parent 9ab1a71 commit f5293dc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import java.net.URISyntaxException;
import java.util.Collection;

import static com.mongodb.ClusterFixture.isDiscoverableReplicaSet;
import static com.mongodb.ClusterFixture.serverVersionAtLeast;
import static org.junit.Assume.assumeFalse;

public class UnifiedCrudTest extends UnifiedSyncTest {
Expand All @@ -49,6 +51,10 @@ public static void customSkips(final String fileDescription, final String testDe
assumeFalse(testDescription.equals("Unacknowledged findOneAndUpdate with hint document on 4.4+ server"));
assumeFalse(testDescription.equals("Unacknowledged findOneAndDelete with hint string on 4.4+ server"));
assumeFalse(testDescription.equals("Unacknowledged findOneAndDelete with hint document on 4.4+ server"));
if (isDiscoverableReplicaSet() && serverVersionAtLeast(8, 0)) {
assumeFalse(testDescription.equals("Aggregate with $out includes read preference for 5.0+ server"));
assumeFalse(testDescription.equals("Database-level aggregate with $out includes read preference for 5.0+ server"));
}
}

@Parameterized.Parameters(name = "{0}: {1}")
Expand Down

0 comments on commit f5293dc

Please sign in to comment.