Skip to content

Commit cbe5946

Browse files
p-mongop
andauthored
Retry intermittently failing tests (#2516)
* retry tests that talk to external kms servers * retry ocsp verification tests because they talk to external servers Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 25d7237 commit cbe5946

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

spec/integration/client_side_encryption/explicit_encryption_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,24 +73,28 @@
7373

7474
context 'with AWS KMS provider' do
7575
include_context 'with AWS kms_providers'
76+
retry_test
7677

7778
it_behaves_like 'an explicit encrypter'
7879
end
7980

8081
context 'with Azure KMS provider' do
8182
include_context 'with Azure kms_providers'
83+
retry_test
8284

8385
it_behaves_like 'an explicit encrypter'
8486
end
8587

8688
context 'with GCP KMS provider' do
8789
include_context 'with GCP kms_providers'
90+
retry_test
8891

8992
it_behaves_like 'an explicit encrypter'
9093
end
9194

9295
context 'with KMIP KMS provider' do
9396
include_context 'with KMIP kms_providers'
97+
retry_test
9498

9599
it_behaves_like 'an explicit encrypter'
96100
end

spec/integration/ocsp_verifier_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
describe Mongo::Socket::OcspVerifier do
88
require_ocsp_verifier
99
with_openssl_debug
10+
retry_test
1011

1112
shared_examples 'verifies' do
1213
context 'mri' do

0 commit comments

Comments
 (0)