SOLR-10374: Replace replicas with cores in set-cluster-preferences command

This commit is contained in:
Shalin Shekhar Mangar 2017-05-02 13:00:52 +05:30
parent 3cf4b92725
commit d81cc6c638
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ public class AutoScalingHandlerTest extends SolrCloudTestCase {
// set preferences
String setPreferencesCommand = "{" +
" 'set-cluster-preferences': [" +
" {'minimize': 'replicas', 'precision': 3}," +
" {'minimize': 'cores', 'precision': 3}," +
" {'maximize': 'freedisk','precision': 100}," +
" {'minimize': 'cpu','precision': 10}]" +
"}";