File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
test/client-side-encryption/spec/legacy Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,8 @@ functions:
474
474
export MULTI_MONGOS_LB_URI="${MONGODB_URI}"
475
475
fi
476
476
477
- PYTHON_BINARY=${PYTHON_BINARY} \
477
+ MONGODB_VERSION=${VERSION} \
478
+ PYTHON_BINARY=${PYTHON_BINARY} \
478
479
GREEN_FRAMEWORK=${GREEN_FRAMEWORK} \
479
480
C_EXTENSIONS=${C_EXTENSIONS} \
480
481
COVERAGE=${COVERAGE} \
@@ -2316,6 +2317,7 @@ buildvariants:
2316
2317
encryption : [ "encryption_crypt_shared" ]
2317
2318
then :
2318
2319
remove_tasks :
2320
+ - " .rapid"
2319
2321
- " .5.0"
2320
2322
- " .4.4"
2321
2323
- " .4.2"
@@ -2410,6 +2412,7 @@ buildvariants:
2410
2412
encryption : [ "encryption_crypt_shared" ]
2411
2413
then :
2412
2414
remove_tasks :
2415
+ - " .rapid"
2413
2416
- " .5.0"
2414
2417
- " .4.4"
2415
2418
- " .4.2"
@@ -2519,6 +2522,7 @@ buildvariants:
2519
2522
encryption : [ "encryption_crypt_shared" ]
2520
2523
then :
2521
2524
remove_tasks :
2525
+ - " .rapid"
2522
2526
- " .5.0"
2523
2527
- " .4.4"
2524
2528
- " .4.2"
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ GREEN_FRAMEWORK=${GREEN_FRAMEWORK:-}
26
26
C_EXTENSIONS=${C_EXTENSIONS:- }
27
27
COVERAGE=${COVERAGE:- }
28
28
COMPRESSORS=${COMPRESSORS:- }
29
+ MONGODB_VERSION=${MONGODB_VERSION:- }
29
30
MONGODB_API_VERSION=${MONGODB_API_VERSION:- }
30
31
TEST_ENCRYPTION=${TEST_ENCRYPTION:- }
31
32
TEST_CRYPT_SHARED=${TEST_CRYPT_SHARED:- }
@@ -151,9 +152,14 @@ if [ -n "$TEST_ENCRYPTION" ]; then
151
152
. $DRIVERS_TOOLS /.evergreen/csfle/set-temp-creds.sh
152
153
153
154
if [ -n " $TEST_CRYPT_SHARED " ]; then
155
+ REAL_VERSION=$( mongod --version | head -n1 | cut -d v -f3 | tr -d " \r" )
156
+ if [ " $MONGODB_VERSION " = " latest" ]; then
157
+ REAL_VERSION=" latest"
158
+ fi
154
159
echo " Testing CSFLE with crypt_shared lib"
155
160
$PYTHON $DRIVERS_TOOLS /.evergreen/mongodl.py --component crypt_shared \
156
- --version latest --out ../crypt_shared/
161
+ --version " $REAL_VERSION " \
162
+ --out ../crypt_shared/
157
163
export DYLD_FALLBACK_LIBRARY_PATH=../crypt_shared/lib/:$DYLD_FALLBACK_LIBRARY_PATH
158
164
export LD_LIBRARY_PATH=../crypt_shared/lib:$LD_LIBRARY_PATH
159
165
export PATH=../crypt_shared/bin:$PATH
Original file line number Diff line number Diff line change 241
241
}
242
242
},
243
243
"result" : {
244
- "errorContains" : " Cannot query "
244
+ "errorContains" : " encrypt "
245
245
}
246
246
}
247
247
]
You can’t perform that action at this time.
0 commit comments