Never run ctlc-with-intermediary-actor cases locally either

prompt_on_ctrlc
Tyler Goodlet 2023-01-26 12:02:30 -05:00
parent dba8118553
commit 6d124db7c9
1 changed files with 10 additions and 11 deletions

View File

@ -165,15 +165,14 @@ def ctlc(
# be 3.10+ mega-asap. # be 3.10+ mega-asap.
pytest.skip('Py3.9 and `pdbpp` son no bueno..') pytest.skip('Py3.9 and `pdbpp` son no bueno..')
if ci_env:
node = request.node node = request.node
markers = node.own_markers markers = node.own_markers
for mark in markers: for mark in markers:
if mark.name == 'has_nested_actors': if mark.name == 'has_nested_actors':
pytest.skip( pytest.skip(
f'Test for {node} uses nested actors and fails in CI\n' f'Test {node} has nested actors and fails with Ctrl-C.\n'
f'The test seems to run fine locally but until we solve' f'The test can sometimes run fine locally but until'
'this issue this CI test will be xfail:\n' ' we solve' 'this issue this CI test will be xfail:\n'
'https://github.com/goodboy/tractor/issues/320' 'https://github.com/goodboy/tractor/issues/320'
) )