File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
driver-sync/src/test/functional/com/mongodb/client Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,10 @@ public void setUp() {
191
191
}
192
192
193
193
Map <String , Object > extraOptions = new HashMap <>();
194
+ String cryptSharedLibPath = System .getProperty ("org.mongodb.test.crypt.shared.lib.path" , "" );
195
+ if (!cryptSharedLibPath .isEmpty ()) {
196
+ extraOptions .put ("cryptSharedLibPath" , cryptSharedLibPath );
197
+ }
194
198
if (cryptOptions .containsKey ("extraOptions" )) {
195
199
BsonDocument extraOptionsDocument = cryptOptions .getDocument ("extraOptions" );
196
200
if (extraOptionsDocument .containsKey ("mongocryptdSpawnArgs" )) {
@@ -206,11 +210,6 @@ public void setUp() {
206
210
if (extraOptionsDocument .containsKey ("mongocryptdURI" )) {
207
211
extraOptions .put ("mongocryptdURI" , extraOptionsDocument .getString ("mongocryptdURI" ).getValue ());
208
212
}
209
-
210
- String cryptSharedLibPath = System .getProperty ("org.mongodb.test.crypt.shared.lib.path" , "" );
211
- if (!cryptSharedLibPath .isEmpty ()) {
212
- extraOptions .put ("cryptSharedLibPath" , cryptSharedLibPath );
213
- }
214
213
}
215
214
216
215
Map <String , Map <String , Object >> kmsProvidersMap = new HashMap <>();
You can’t perform that action at this time.
0 commit comments