Fix shutdown/remove race as described by @rkuhn, see #2137

* Skip nodes removal
* Ignore removed client when enter barrier
* Change order of testConductor.shutdown and testConductor.removeNode
This commit is contained in:
Patrik Nordwall 2012-06-04 11:38:39 +02:00
parent e7cf92e72a
commit 52f122107c
6 changed files with 8 additions and 9 deletions

View file

@ -43,8 +43,8 @@ class ClientDowningNodeThatIsUnreachableSpec
testConductor.enter("all-up")
// kill 'third' node
testConductor.shutdown(third, 0)
testConductor.removeNode(third)
testConductor.shutdown(third, 0)
// mark 'third' node as DOWN
cluster.down(thirdAddress)