forked from goodboy/tractor
1
0
Fork 0

Bleh more nested actor hackin..

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-31 15:42:13 -04:00
parent ba9c914221
commit fec2ba004c
1 changed files with 26 additions and 20 deletions

View File

@ -472,10 +472,12 @@ def test_multi_subactors(
# quit the loop and expect parent to attach # quit the loop and expect parent to attach
child.sendline('q') child.sendline('q')
if _ci_env and not ctlc:
try: try:
child.expect(r"\(Pdb\+\+\)") child.expect(r"\(Pdb\+\+\)")
except TIMEOUT: except TIMEOUT:
if _ci_env and not ctlc:
raise
# in ci seems like this can sometimes just result # in ci seems like this can sometimes just result
# in full tree death? # in full tree death?
print('tree died?') print('tree died?')
@ -499,7 +501,11 @@ def test_multi_subactors(
# process should exit # process should exit
child.sendline('c') child.sendline('c')
try:
child.expect(pexpect.EOF) child.expect(pexpect.EOF)
except TIMEOUT:
child.expect(r"\(Pdb\+\+\)")
# repeat of previous multierror for final output # repeat of previous multierror for final output
assert_before(child, [ assert_before(child, [