forked from goodboy/tractor
Just skip expecting attach msg in CI for ctlc cases
parent
0b4fc4fc47
commit
30ee3f2dcc
|
@ -422,6 +422,8 @@ 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..
|
||||||
|
from conftest import _ci_env
|
||||||
|
if not ctlc and _ci_env:
|
||||||
name = 'name_error' if ctlc else 'name_error_1'
|
name = 'name_error' if ctlc else 'name_error_1'
|
||||||
assert_before(child, [
|
assert_before(child, [
|
||||||
f"Attaching to pdb in crashed actor: ('{name}'",
|
f"Attaching to pdb in crashed actor: ('{name}'",
|
||||||
|
@ -625,6 +627,8 @@ 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..
|
||||||
|
from conftest import _ci_env
|
||||||
|
if not ctlc and _ci_env:
|
||||||
name = 'name_error' if ctlc else 'name_error_1'
|
name = 'name_error' if ctlc else 'name_error_1'
|
||||||
assert_before(child, [
|
assert_before(child, [
|
||||||
f"Attaching to pdb in crashed actor: ('{name}'",
|
f"Attaching to pdb in crashed actor: ('{name}'",
|
||||||
|
|
Loading…
Reference in New Issue