mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[TEST] fixed content type in ML QA tests
Original commit: elastic/x-pack-elasticsearch@b7749e1319
This commit is contained in:
parent
fd54515ecb
commit
caa9afad2b
@ -293,7 +293,7 @@ public class MlBasicMultiNodeIT extends ESRestTestCase {
|
|||||||
xContentBuilder.endObject();
|
xContentBuilder.endObject();
|
||||||
|
|
||||||
xContentBuilder.startObject("data_description");
|
xContentBuilder.startObject("data_description");
|
||||||
xContentBuilder.field("format", "JSON");
|
xContentBuilder.field("format", "xcontent");
|
||||||
xContentBuilder.field("time_field", "time");
|
xContentBuilder.field("time_field", "time");
|
||||||
xContentBuilder.field("time_format", "epoch");
|
xContentBuilder.field("time_format", "epoch");
|
||||||
xContentBuilder.endObject();
|
xContentBuilder.endObject();
|
||||||
|
@ -41,7 +41,7 @@ public class MlPluginDisabledIT extends ESRestTestCase {
|
|||||||
xContentBuilder.endObject();
|
xContentBuilder.endObject();
|
||||||
|
|
||||||
xContentBuilder.startObject("data_description");
|
xContentBuilder.startObject("data_description");
|
||||||
xContentBuilder.field("format", "JSON");
|
xContentBuilder.field("format", "xcontent");
|
||||||
xContentBuilder.field("time_field", "time");
|
xContentBuilder.field("time_field", "time");
|
||||||
xContentBuilder.field("time_format", "epoch");
|
xContentBuilder.field("time_format", "epoch");
|
||||||
xContentBuilder.endObject();
|
xContentBuilder.endObject();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user