mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-140702: Add test skip for Unix Datagram tests on iOS when on Github Actions (#140740)
Exposes the GITHUB_ACTIONS environment variable to iOS simulator test runs, and uses this variable to skip a Unix Datagram socketserver test that is unreliable in the iOS GitHub Actions environment. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
058bc182b9
commit
9f8d005d29
6 changed files with 31 additions and 1 deletions
|
|
@ -223,12 +223,16 @@ def test_ForkingUDPServer(self):
|
|||
self.dgram_examine)
|
||||
|
||||
@requires_unix_sockets
|
||||
@unittest.skipIf(test.support.is_apple_mobile and test.support.on_github_actions,
|
||||
"gh-140702: Test fails regularly on iOS simulator on GitHub Actions")
|
||||
def test_UnixDatagramServer(self):
|
||||
self.run_server(socketserver.UnixDatagramServer,
|
||||
socketserver.DatagramRequestHandler,
|
||||
self.dgram_examine)
|
||||
|
||||
@requires_unix_sockets
|
||||
@unittest.skipIf(test.support.is_apple_mobile and test.support.on_github_actions,
|
||||
"gh-140702: Test fails regularly on iOS simulator on GitHub Actions")
|
||||
def test_ThreadingUnixDatagramServer(self):
|
||||
self.run_server(socketserver.ThreadingUnixDatagramServer,
|
||||
socketserver.DatagramRequestHandler,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue