Add another name hack for CI race conditions..
parent
05167bdc70
commit
6b8c193221
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue