Add another name hack for CI race conditions..

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-29 18:57:44 -04:00
parent 05167bdc70
commit 6b8c193221
1 changed files with 5 additions and 5 deletions

View File

@ -418,15 +418,15 @@ def test_multi_subactors(
# 2nd name_error failure
child.expect(r"\(Pdb\+\+\)")
# XXX: lol honestly no idea why CI is suck a cuck
from conftest import _ci_env
name = 'name_error' if _ci_env else 'name_error_1'
assert_before(child, [
"Attaching to pdb in crashed actor: ('name_error_1'",
f"Attaching to pdb in crashed actor: ('{name}'",
"NameError",
])
# before = str(child.before.decode())
# assert "Attaching to pdb in crashed actor: ('name_error_1'" in before
# assert "NameError" in before
if ctlc:
do_ctlc(child)