forked from goodboy/tractor
				
			Add in issue link for nested cases
							parent
							
								
									8115759984
								
							
						
					
					
						commit
						2d387f2610
					
				| 
						 | 
					@ -10,7 +10,6 @@ TODO:
 | 
				
			||||||
    - wonder if any of it'll work on OS X?
 | 
					    - wonder if any of it'll work on OS X?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
import os
 | 
					 | 
				
			||||||
from os import path
 | 
					from os import path
 | 
				
			||||||
from typing import Optional
 | 
					from typing import Optional
 | 
				
			||||||
import platform
 | 
					import platform
 | 
				
			||||||
| 
						 | 
					@ -64,14 +63,15 @@ def mk_cmd(ex_name: str) -> str:
 | 
				
			||||||
# in CI we skip tests which >= depth 1 actor trees due to there
 | 
					# in CI we skip tests which >= depth 1 actor trees due to there
 | 
				
			||||||
# still being an oustanding issue with relaying the debug-mode-state
 | 
					# still being an oustanding issue with relaying the debug-mode-state
 | 
				
			||||||
# through intermediary parents.
 | 
					# through intermediary parents.
 | 
				
			||||||
has_nested_actors = pytest.mark.has_nested_actors #.xfail(
 | 
					has_nested_actors = pytest.mark.has_nested_actors
 | 
				
			||||||
    # os.environ.get('CI', False),
 | 
					# .xfail(
 | 
				
			||||||
    # reason=(
 | 
					#     os.environ.get('CI', False),
 | 
				
			||||||
    #     'This test uses nested actors and fails in CI\n'
 | 
					#     reason=(
 | 
				
			||||||
    #     'The test seems to run fine locally but until we solve the '
 | 
					#         'This test uses nested actors and fails in CI\n'
 | 
				
			||||||
    #     'following issue this CI test will be xfail:\n'
 | 
					#         'The test seems to run fine locally but until we solve the '
 | 
				
			||||||
    #     '<#issue>'
 | 
					#         'following issue this CI test will be xfail:\n'
 | 
				
			||||||
    # )
 | 
					#         'https://github.com/goodboy/tractor/issues/320'
 | 
				
			||||||
 | 
					#     )
 | 
				
			||||||
# )
 | 
					# )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -171,9 +171,9 @@ def ctlc(
 | 
				
			||||||
            if mark.name == 'has_nested_actors':
 | 
					            if mark.name == 'has_nested_actors':
 | 
				
			||||||
                pytest.skip(
 | 
					                pytest.skip(
 | 
				
			||||||
                    f'Test for {node} uses nested actors and fails in CI\n'
 | 
					                    f'Test for {node} uses nested actors and fails in CI\n'
 | 
				
			||||||
                    f'The test seems to run fine locally but until we solve the following '
 | 
					                    f'The test seems to run fine locally but until we solve'
 | 
				
			||||||
                    'issue this CI test will be xfail:\n'
 | 
					                    'this issue this CI test will be xfail:\n'
 | 
				
			||||||
                    f'<#issue>'
 | 
					                    'https://github.com/goodboy/tractor/issues/320'
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if use_ctlc:
 | 
					    if use_ctlc:
 | 
				
			||||||
| 
						 | 
					@ -733,7 +733,7 @@ def test_multi_nested_subactors_error_through_nurseries(
 | 
				
			||||||
    spawn,
 | 
					    spawn,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # TODO: address debugger issue for nested tree:
 | 
					    # TODO: address debugger issue for nested tree:
 | 
				
			||||||
    # <issuelink>
 | 
					    # https://github.com/goodboy/tractor/issues/320
 | 
				
			||||||
    # ctlc: bool,
 | 
					    # ctlc: bool,
 | 
				
			||||||
):
 | 
					):
 | 
				
			||||||
    """Verify deeply nested actors that error trigger debugger entries
 | 
					    """Verify deeply nested actors that error trigger debugger entries
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue