File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2020import decimal
2121import json
2222import random
23+ import sys
2324import threading
2425import time
2526import uuid
@@ -677,6 +678,16 @@ def __int__(self):
677678 arg = "10.2" )
678679
679680 def test_sync_wait_cancel_01 (self ):
681+ if sys .platform == 'darwin' and sys .version_info >= (3 , 13 ):
682+ # On macOS with Python 3.13+ the test hangs indefinitely because
683+ # OpenSSL socket is not thread-safe, and sending TERMINATE_MSG is
684+ # blocked by a concurrent recv() call waiting for the lock.
685+ # This may happen to any environment, so maybe we should consider
686+ # dropping the test entirely if it happens again.
687+ self .skipTest (
688+ "known OpenSSL misuse: hangs on macOS with Python 3.13+"
689+ )
690+
680691 underscored_lock = self .client .query_single ("""
681692 SELECT EXISTS(
682693 SELECT schema::Function FILTER .name = 'sys::_advisory_lock'
You can’t perform that action at this time.
0 commit comments