Skip to content

Commit 04fda5c

Browse files
authored
Mark test_posix_proxy_sockets to depend on multithreading (#25883)
Mark test_posix_proxy_sockets to depend on multithreading to skip it in old non-SAB capable browsers.
1 parent 81bbaa4 commit 04fda5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_sockets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
requires_native_clang,
2727
test_file,
2828
)
29+
from test_browser import requires_shared_array_buffer
2930

3031
from tools import config
3132
from tools.shared import CLANG_CC, EMCC
@@ -396,6 +397,7 @@ def test_websocket_send(self, args):
396397

397398
# Test that native POSIX sockets API can be used by proxying calls to an intermediate WebSockets
398399
# -> POSIX sockets bridge server
400+
@requires_shared_array_buffer
399401
def test_posix_proxy_sockets(self):
400402
# Build the websocket bridge server
401403
self.run_process(['cmake', path_from_root('tools/websocket_to_posix_proxy')])

0 commit comments

Comments
 (0)