Just skip expecting attach msg in CI for ctlc cases

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-29 20:52:54 -04:00
parent 0b4fc4fc47
commit 30ee3f2dcc
1 changed files with 14 additions and 10 deletions

View File

@ -422,11 +422,13 @@ def test_multi_subactors(
# XXX: lol honestly no idea why CI is cuck but # XXX: lol honestly no idea why CI is cuck but
# seems like this likely falls into our unhandled nested # seems like this likely falls into our unhandled nested
# case and isn't working in that env due to raciness.. # case and isn't working in that env due to raciness..
name = 'name_error' if ctlc else 'name_error_1' from conftest import _ci_env
assert_before(child, [ if not ctlc and _ci_env:
f"Attaching to pdb in crashed actor: ('{name}'", name = 'name_error' if ctlc else 'name_error_1'
"NameError", assert_before(child, [
]) f"Attaching to pdb in crashed actor: ('{name}'",
"NameError",
])
if ctlc: if ctlc:
do_ctlc(child) do_ctlc(child)
@ -625,11 +627,13 @@ def test_multi_subactors_root_errors(
# XXX: lol honestly no idea why CI is cuck but # XXX: lol honestly no idea why CI is cuck but
# seems like this likely falls into our unhandled nested # seems like this likely falls into our unhandled nested
# case and isn't working in that env due to raciness.. # case and isn't working in that env due to raciness..
name = 'name_error' if ctlc else 'name_error_1' from conftest import _ci_env
assert_before(child, [ if not ctlc and _ci_env:
f"Attaching to pdb in crashed actor: ('{name}'", name = 'name_error' if ctlc else 'name_error_1'
"NameError", assert_before(child, [
]) f"Attaching to pdb in crashed actor: ('{name}'",
"NameError",
])
if ctlc: if ctlc:
do_ctlc(child) do_ctlc(child)