[ML] Extra exceptions for renamed fields in mapping tests (#62151)

Add renamed 'maximum_number_trees' fields to exceptions
This commit is contained in:
David Kyle 2020-09-09 12:03:42 +01:00 committed by GitHub
parent 5a48895065
commit a4fb501a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,6 @@ public class MlMappingsUpgradeIT extends AbstractUpgradeTestCase {
* The purpose of this test is to ensure that when a job is open through a rolling upgrade we upgrade the results
* index mappings when it is assigned to an upgraded node even if no other ML endpoint is called after the upgrade
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/61908")
public void testMappingsUpgrade() throws Exception {
switch (CLUSTER_TYPE) {
@ -174,7 +173,11 @@ public class MlMappingsUpgradeIT extends AbstractUpgradeTestCase {
configIndexExceptions.add("properties.analysis.properties.regression.properties.randomize_seed.type");
configIndexExceptions.add("properties.deleting.type");
configIndexExceptions.add("properties.model_memory_limit.type");
// fields from previous versions that have been removed
// renamed to max_trees in 7.7
configIndexExceptions.add("properties.analysis.properties.classification.properties.maximum_number_trees.type");
configIndexExceptions.add("properties.analysis.properties.regression.properties.maximum_number_trees.type");
configIndexExceptions.add("properties.established_model_memory.type");
configIndexExceptions.add("properties.last_data_time.type");
configIndexExceptions.add("properties.types.type");