Skip to content

Commit

Permalink
Folding slon.stop() and coordinator.join(slon) into one loop.
Browse files Browse the repository at this point in the history
Stopping the slons and joining their processes in separate
loops apparently can cause the regression test to hang under
some rare race conditions.
  • Loading branch information
Jan Wieck authored and ssinger committed Nov 2, 2013
1 parent 08b73fb commit f7c44d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clustertest/regression/common_tests.js
Expand Up @@ -70,8 +70,6 @@ function launch_slon(coordinator) {
function terminate_slon(coordinator) {
for(var idx=0; idx < slon_array.length; idx++) {
slon_array[idx].stop();
}
for(var idx=0; idx < slon_array.length; idx++) {
coordinator.join(slon_array[idx]);
}
}
Expand Down

0 comments on commit f7c44d5

Please sign in to comment.