mirror of https://gitee.com/bigwinds/arangodb
move shard has always been a matter of luck as a test in the cleanoutserver part
This commit is contained in:
parent
90c18e4914
commit
edac0586ab
|
@ -161,10 +161,10 @@ function MovingShardsSuite () {
|
|||
count = 100;
|
||||
while (--count > 0) {
|
||||
var obj = getCleanedOutServers();
|
||||
if (obj.cleanedServers.indexOf(id) < 0) {
|
||||
console.warn(obj);
|
||||
if (obj.cleanedServers.indexOf(id) >= 0) {
|
||||
break;
|
||||
}
|
||||
console.info("cleanedServers:", obj);
|
||||
wait(1.0);
|
||||
}
|
||||
if (count <= 0) {
|
||||
|
|
Loading…
Reference in New Issue