File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -521,6 +521,7 @@ static void _test_create_datakey_with_retry(_mongocrypt_tester_t *tester) {
521
521
TEST_FILE ("./test/data/kms-aws/encrypt-response-partial.txt" ),
522
522
& should_retry ),
523
523
kms_ctx );
524
+ ASSERT (!should_retry );
524
525
// Mark another network error.
525
526
ASSERT_OK (mongocrypt_kms_ctx_fail (kms_ctx ), kms_ctx );
526
527
// Expect some sleep is requested
@@ -608,6 +609,7 @@ static void _test_create_datakey_with_retry(_mongocrypt_tester_t *tester) {
608
609
TEST_FILE ("./test/data/kms-aws/encrypt-response.txt" ),
609
610
& should_retry ),
610
611
kms_ctx );
612
+ ASSERT (!should_retry );
611
613
ASSERT_OK (mongocrypt_ctx_kms_done (ctx ), ctx );
612
614
_mongocrypt_tester_run_ctx_to (tester , ctx , MONGOCRYPT_CTX_DONE );
613
615
mongocrypt_ctx_destroy (ctx );
You can’t perform that action at this time.
0 commit comments