Skip to content

Commit 03ca722

Browse files
committed
Allow EACCESS in SocketTests#dgramListen
1 parent 53dee4c commit 03ca722

File tree

1 file changed

+4
-4
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test

1 file changed

+4
-4
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/SocketTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -503,9 +503,9 @@ public void dgramUnconnectedGetpeername() {
503503

504504
@Test
505505
public void dgramListen() {
506-
expectErrno(() -> {
507-
lib.listen(posixSupport, new UdpServer(AF_INET.value).fd, 5);
508-
}, OSErrorEnum.EOPNOTSUPP);
506+
expectErrno(() -> lib.listen(posixSupport, new UdpServer(AF_INET.value).fd, 5),
507+
OSErrorEnum.EOPNOTSUPP,
508+
OSErrorEnum.EACCES /* Some CI machines seem to block this with EACCESS */);
509509
}
510510

511511
@Test

0 commit comments

Comments
 (0)