Commit 31ec0ac0 authored by Jason Madden's avatar Jason Madden

Skip on CI

parent fbcafa4f
...@@ -598,6 +598,11 @@ class TestBasic(greentest.TestCase): ...@@ -598,6 +598,11 @@ class TestBasic(greentest.TestCase):
g.join() g.join()
self.assertFalse(g.exc_info) self.assertFalse(g.exc_info)
@greentest.skipOnCI(
"Started getting a Fatal Python error on "
"Github Actions on 2020-12-18, even with recursion limits "
"in place. It was fine before that."
)
def test_recursion_error(self): def test_recursion_error(self):
# https://github.com/gevent/gevent/issues/1704 # https://github.com/gevent/gevent/issues/1704
# A RuntimeError: recursion depth exceeded # A RuntimeError: recursion depth exceeded
...@@ -607,6 +612,8 @@ class TestBasic(greentest.TestCase): ...@@ -607,6 +612,8 @@ class TestBasic(greentest.TestCase):
# systems, actually exhausting the stack results in "Fatal # systems, actually exhausting the stack results in "Fatal
# Python error: Cannot recover from stack overflow.". So we # Python error: Cannot recover from stack overflow.". So we
# need to use a low recursion limit so that doesn't happen. # need to use a low recursion limit so that doesn't happen.
# Doesn't seem to help though.
# See https://github.com/gevent/gevent/runs/1577692901?check_suite_focus=true#step:21:46
import sys import sys
limit = sys.getrecursionlimit() limit = sys.getrecursionlimit()
self.addCleanup(sys.setrecursionlimit, limit) self.addCleanup(sys.setrecursionlimit, limit)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment