Tests: wait for yellow instead of green

This commit is contained in:
Britta Weber 2014-09-01 12:11:41 +02:00
parent ab57d4a002
commit 40d86a630b
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class FunctionScoreBackwardCompatibilityTests extends ElasticsearchBackwa
do {
logger.debug("function_score bwc: upgrading {}st node", upgradedNodesCounter++);
upgraded = backwardsCluster().upgradeOneNode();
ensureGreen();
ensureYellow();
logClusterState();
checkFunctionScoreStillWorks(ids);
} while (upgraded);