| 1 | Fromscip-debian debian execnet 2.1.2-1 execnet/patches/`flaky-tests.patch`#From.: Santiago Vila <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Subjectscip-debian debian execnet 2.1.2-1 execnet/patches/`flaky-tests.patch`#Subject.: Mark several tests as flaky |
| 3 | Bug-Debianscip-debian debian execnet 2.1.2-1 execnet/patches/`flaky-tests.patch`#Bug-Debian.: https://bugs.debian.org/854494scip-debian-bts debian-bts . . 854494: |
| 4 | |
| 5 | --- a/testing/test_channel.pyscip-debian debian execnet 2.1.2-1 execnet/upstream/`testing/test_channel.py`: |
| 6 | +++ b/testing/test_channel.pyscip-debian debian execnet 2.1.2-1 execnet/upstream/`testing/test_channel.py`: |
| 7 | @@ -12,6 +12,7 @@ |
| 8 | |
| 9 | needs_early_gc = pytest.mark.skipif("not hasattr(sys, 'getrefcount')") |
| 10 | needs_osdup = pytest.mark.skipif("not hasattr(os, 'dup')") |
| 11 | +flakytest = pytest.mark.xfail(reason="flaky test") |
| 12 | TESTTIMEOUT = 10.0 # seconds |
| 13 | |
| 14 | |
| 15 | @@ -129,6 +130,7 @@ |
| 16 | channel.send(newchan) |
| 17 | channel.waitclose() |
| 18 | |
| 19 | + @flakytest |
| 20 | def test_channel_passing_over_channel(self, gw: Gateway) -> None: |
| 21 | channel = gw.remote_exec( |
| 22 | """ |
| 23 | --- a/testing/test_gateway.pyscip-debian debian execnet 2.1.2-1 execnet/upstream/`testing/test_gateway.py`: |
| 24 | +++ b/testing/test_gateway.pyscip-debian debian execnet 2.1.2-1 execnet/upstream/`testing/test_gateway.py`: |
| 25 | @@ -262,6 +262,7 @@ |
| 26 | res = channel.receive() |
| 27 | assert res == 42 |
| 28 | |
| 29 | + @flakytest |
| 30 | def test__rinfo(self, gw: Gateway) -> None: |
| 31 | rinfo = gw._rinfo() |
| 32 | assert rinfo.executable |
| 33 | @@ -325,6 +326,7 @@ |
| 34 | assert rinfo.cwd == os.getcwd() |
| 35 | assert rinfo.version_info == sys.version_info |
| 36 | |
| 37 | + @flakytest |
| 38 | def test_waitclose_on_remote_killed( |
| 39 | self, makegateway: Callable[[str], Gateway] |
| 40 | ) -> None: |