File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
driver-sync/src/test/functional/com/mongodb/client Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 5555import java .util .Set ;
5656import java .util .stream .Stream ;
5757
58+ import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
5859import static com .mongodb .client .Fixture .getMongoClient ;
5960import static com .mongodb .client .Fixture .getMongoClientSettingsBuilder ;
6061import static java .util .Arrays .asList ;
6162import static java .util .Collections .emptyList ;
6263import static java .util .Collections .singletonList ;
6364import static org .junit .jupiter .api .Assertions .assertEquals ;
65+ import static org .junit .jupiter .api .Assumptions .assumeTrue ;
6466import static org .junit .jupiter .params .provider .Arguments .arguments ;
6567import static util .JsonPoweredTestHelper .getTestDocument ;
6668
@@ -73,6 +75,7 @@ public abstract class AbstractClientSideEncryptionDeadlockTest {
7375
7476 @ BeforeEach
7577 public void setUp () throws IOException , URISyntaxException {
78+ assumeTrue (serverVersionAtLeast (4 , 2 ));
7679
7780 MongoDatabase keyVaultDatabase = getMongoClient ().getDatabase ("keyvault" );
7881 MongoCollection <BsonDocument > dataKeysCollection = keyVaultDatabase .getCollection ("datakeys" , BsonDocument .class )
You can’t perform that action at this time.
0 commit comments