Skip to content

Commit b045f37

Browse files
committed
Prevent transient failures
1 parent 2ec5bb5 commit b045f37

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_subprocess.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_leak_fast_process_del_killed
4646
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_pass_fds
4747
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_pass_fds_inheritable
48+
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_pipe_cloexec_real_tools
4849
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_preexec
4950
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_preexec_errpipe_does_not_double_close_pipes
5051
*graalpython.lib-python.3.test.test_subprocess.POSIXProcessTestCase.test_preexec_exception

graalpython/lib-python/3/test/test_posix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,7 @@ def test_listdir_bytes_like(self):
811811
for name in names:
812812
self.assertIs(type(name), bytes)
813813

814+
@support.impl_detail("[GR-30188] interferes with other tests executed concurrently", graalvm=False)
814815
@unittest.skipUnless(posix.listdir in os.supports_fd,
815816
"test needs fd support for posix.listdir()")
816817
def test_listdir_fd(self):

graalpython/lib-python/3/test/test_subprocess.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def test_check_output_timeout(self):
230230
# Some heavily loaded buildbots (sparc Debian 3.x) require
231231
# this much time to start and print.
232232
# Graalpython: increased timeout for jvm launcher startup
233-
timeout=15)
233+
timeout=20)
234234
self.fail("Expected TimeoutExpired.")
235235
self.assertEqual(c.exception.output, b'BDFL')
236236

@@ -1127,7 +1127,7 @@ def test_wait_timeout(self):
11271127
# Some heavily loaded buildbots (sparc Debian 3.x) require this much
11281128
# time to start.
11291129
# Graalpython: increased timeout for jvm launcher startup
1130-
self.assertEqual(p.wait(timeout=15), 0)
1130+
self.assertEqual(p.wait(timeout=20), 0)
11311131

11321132
def test_invalid_bufsize(self):
11331133
# an invalid type of the bufsize argument should raise
@@ -1500,7 +1500,7 @@ def test_check_output_timeout(self):
15001500
# Some heavily loaded buildbots (sparc Debian 3.x) require
15011501
# this much time to start and print.
15021502
# Graalpython: increased timeout for jvm launcher startup
1503-
timeout=15, stdout=subprocess.PIPE)
1503+
timeout=20, stdout=subprocess.PIPE)
15041504
self.assertEqual(c.exception.output, b'BDFL')
15051505
# output is aliased to stdout
15061506
self.assertEqual(c.exception.stdout, b'BDFL')
@@ -2393,6 +2393,7 @@ def test_pipe_cloexec(self):
23932393
"found %r" %
23942394
(unwanted_fds, result_fds & unwanted_fds))
23952395

2396+
@unittest.skipIf(sys.platform == 'darwin', '[GR-30189] hangs on graalpython on OS X')
23962397
def test_pipe_cloexec_real_tools(self):
23972398
qcat = support.findfile("qcat.py", subdir="subprocessdata")
23982399
qgrep = support.findfile("qgrep.py", subdir="subprocessdata")

0 commit comments

Comments
 (0)