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 55
55
import java .util .Set ;
56
56
import java .util .stream .Stream ;
57
57
58
+ import static com .mongodb .ClusterFixture .serverVersionAtLeast ;
58
59
import static com .mongodb .client .Fixture .getMongoClient ;
59
60
import static com .mongodb .client .Fixture .getMongoClientSettingsBuilder ;
60
61
import static java .util .Arrays .asList ;
61
62
import static java .util .Collections .emptyList ;
62
63
import static java .util .Collections .singletonList ;
63
64
import static org .junit .jupiter .api .Assertions .assertEquals ;
65
+ import static org .junit .jupiter .api .Assumptions .assumeTrue ;
64
66
import static org .junit .jupiter .params .provider .Arguments .arguments ;
65
67
import static util .JsonPoweredTestHelper .getTestDocument ;
66
68
@@ -73,6 +75,7 @@ public abstract class AbstractClientSideEncryptionDeadlockTest {
73
75
74
76
@ BeforeEach
75
77
public void setUp () throws IOException , URISyntaxException {
78
+ assumeTrue (serverVersionAtLeast (4 , 2 ));
76
79
77
80
MongoDatabase keyVaultDatabase = getMongoClient ().getDatabase ("keyvault" );
78
81
MongoCollection <BsonDocument > dataKeysCollection = keyVaultDatabase .getCollection ("datakeys" , BsonDocument .class )
You can’t perform that action at this time.
0 commit comments