1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Description: Remove broken tests
As per the bug reports, the 2 tests disabled by this patch are flaky,
and produce random FTBFS.
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/854494
Bug-Debian: https://bugs.debian.org/858189
Forwarded: no
Last-Update: 2017-04-04
--- execnet.orig/testing/test_gateway.py
+++ execnet/testing/test_gateway.py
@@ -330,25 +330,6 @@ class TestPopenGateway:
assert rinfo.cwd == os.getcwd()
assert rinfo.version_info == sys.version_info
- def test_waitclose_on_remote_killed(self, makegateway):
- gw = makegateway("popen")
- channel = gw.remote_exec(
- """
- import os
- import time
- channel.send(os.getpid())
- time.sleep(100)
- """
- )
- remotepid = channel.receive()
- py.process.kill(remotepid)
- with pytest.raises(EOFError):
- channel.waitclose(TESTTIMEOUT)
- with pytest.raises(IOError):
- channel.send(None)
- with pytest.raises(EOFError):
- channel.receive()
-
def test_receive_on_remote_sysexit(self, gw):
channel = gw.remote_exec(
"""
|