From fd0c6c0d16e1c3ac71162fd31ae4fa8b880bdbe5 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Fri, 19 Jun 2020 10:57:08 +1000 Subject: [PATCH] Add model_snapshot_retention_days This commit adds model_snapshot_retention_days to the expected serialized json (cherry picked from commit 43cfabb8ceea99c090291c59390c45c6b9340765) --- tests/Tests/XPack/MachineLearning/PutJob/PutJobApiTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Tests/XPack/MachineLearning/PutJob/PutJobApiTests.cs b/tests/Tests/XPack/MachineLearning/PutJob/PutJobApiTests.cs index 5878c246ecb..93d7aac264e 100644 --- a/tests/Tests/XPack/MachineLearning/PutJob/PutJobApiTests.cs +++ b/tests/Tests/XPack/MachineLearning/PutJob/PutJobApiTests.cs @@ -200,7 +200,8 @@ public PutJobWithCustomRulesApiTests(MachineLearningCluster cluster, EndpointUsa time_field = "@timestamp" }, description = "Lab 1 - Simple example", - results_index_name = "server-metrics" + results_index_name = "server-metrics", + model_snapshot_retention_days = 1 }; protected override int ExpectStatusCode => 200;