forked from goodboy/tractor
				
			Handle top level multierror that presents now?
							parent
							
								
									32b4ae0603
								
							
						
					
					
						commit
						b372f4c92b
					
				| 
						 | 
					@ -123,8 +123,15 @@ def test_multierror_fast_nursery(arb_addr, start_method, num_subactors, delay):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    assert exc_info.type == tractor.MultiError
 | 
					    assert exc_info.type == tractor.MultiError
 | 
				
			||||||
    err = exc_info.value
 | 
					    err = exc_info.value
 | 
				
			||||||
    assert len(err.exceptions) == num_subactors
 | 
					    exceptions = err.exceptions
 | 
				
			||||||
    for exc in err.exceptions:
 | 
					
 | 
				
			||||||
 | 
					    if len(exceptions) == 2:
 | 
				
			||||||
 | 
					        # sometimes oddly now there's an embedded BrokenResourceError ?
 | 
				
			||||||
 | 
					        exceptions = exceptions[1].exceptions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    assert len(exceptions) == num_subactors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    for exc in exceptions:
 | 
				
			||||||
        assert isinstance(exc, tractor.RemoteActorError)
 | 
					        assert isinstance(exc, tractor.RemoteActorError)
 | 
				
			||||||
        assert exc.type == AssertionError
 | 
					        assert exc.type == AssertionError
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue