Project

General

Profile

Bug #9018

Updated by Tom Clegg almost 8 years ago

A race condition in test_fatal_error (tests.test_failure.ActorUnhandledExceptionTest) causes os.killpg() to be called after it has been unstubbed. This kills the test suite _and run-tests.sh_. 

 There are two problems here: 
 * The test should not have a race condition 
 * The exception handler should only kill node manager itself, not other processes. 

 h2. Proposed fix for overkill 

 Use os._exit() or os.kill(0,9) instead of os.killpg() 

 h2. Proposed fix for test race 

 TBD?

Back