Skip to content

Commit 16ad073

Browse files
committed
Skip transient recv_into on java posix backend
1 parent 9eed104 commit 16ad073

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_socket.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0
@@ -69,6 +69,12 @@ def test_get_name_info():
6969

7070

7171
def test_recv_into():
72+
try:
73+
if __graalpython__.posix_module_backend() == "java":
74+
return # transient timeouts
75+
except NameError:
76+
pass # not graalpy
77+
7278
port = None
7379
event = threading.Event()
7480
def server():

0 commit comments

Comments
 (0)