Skip to content

Commit b4bde18

Browse files
committed
run all client_side_encryption tests; use wait_for_kms_server
1 parent 34361a7 commit b4bde18

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.evergreen/run-tests.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ check_mongocryptd() {
120120
}
121121

122122
# TODO: run all tests.
123-
TEST_ARGS="$TEST_ARGS -l /client_side_encryption/kmipKMS"
123+
TEST_ARGS="$TEST_ARGS -l /client_side_encryption/*"
124124

125125
export MONGOC_TEST_MONITORING_VERBOSE=on
126126

@@ -142,6 +142,7 @@ if [ "$CLIENT_SIDE_ENCRYPTION" = "on" ]; then
142142
wait_for_kms_server 7999
143143
wait_for_kms_server 8000
144144
wait_for_kms_server 8001
145+
wait_for_kms_server 5698
145146
echo "Waiting for mock KMS servers to start... done."
146147
fi
147148

@@ -168,12 +169,6 @@ if [ "$LOADBALANCED" != "noloadbalanced" ]; then
168169
TEST_ARGS="$TEST_ARGS -l /command_monitoring/unified/*"
169170
fi
170171

171-
echo "sleeping for 120 seconds to wait for KMS server"
172-
ps aux
173-
sleep 120
174-
ps aux
175-
curl localhost:5698 || true
176-
177172
case "$OS" in
178173
cygwin*)
179174
export PATH=$PATH:/cygdrive/c/mongodb/bin:/cygdrive/c/libmongocrypt/bin

0 commit comments

Comments
 (0)