Skip to content

Commit

Permalink
PYTHON-4738 - Make test_encryption.TestClientSimple.test_fork sync-on…
Browse files Browse the repository at this point in the history
…ly (#1862)
  • Loading branch information
NoahStapp authored Sep 17, 2024
1 parent 7395102 commit 163e3d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/asynchronous/test_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ async def test_use_after_close(self):
is_greenthread_patched(),
"gevent and eventlet do not support POSIX-style forking.",
)
@async_client_context.require_sync
async def test_fork(self):
opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys")
client = await self.async_rs_or_single_client(auto_encryption_opts=opts)
Expand Down
1 change: 1 addition & 0 deletions test/test_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def test_use_after_close(self):
is_greenthread_patched(),
"gevent and eventlet do not support POSIX-style forking.",
)
@client_context.require_sync
def test_fork(self):
opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys")
client = self.rs_or_single_client(auto_encryption_opts=opts)
Expand Down

0 comments on commit 163e3d4

Please sign in to comment.