forked from goodboy/tractor
Bleh more nested actor hackin..
parent
ba9c914221
commit
fec2ba004c
|
@ -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, [
|
||||||
|
|
Loading…
Reference in New Issue