From 6f214d791fbc75ae3be9851920584ab579f0f91a Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 12 Jan 2015 08:42:59 -0800 Subject: [PATCH] Tests: Fix test failure introduced in #8967 --- .../index/mapper/timestamp/TimestampMappingTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/elasticsearch/index/mapper/timestamp/TimestampMappingTests.java b/src/test/java/org/elasticsearch/index/mapper/timestamp/TimestampMappingTests.java index cd9a28ea607..735c06432d5 100644 --- a/src/test/java/org/elasticsearch/index/mapper/timestamp/TimestampMappingTests.java +++ b/src/test/java/org/elasticsearch/index/mapper/timestamp/TimestampMappingTests.java @@ -445,6 +445,7 @@ public class TimestampMappingTests extends ElasticsearchSingleNodeTest { String mapping = XContentFactory.jsonBuilder().startObject().startObject("type") .startObject("_timestamp").field("enabled", true) .field("index", randomBoolean() ? "no" : "analyzed") // default is "not_analyzed" which will be omitted when building the source again + .field("doc_values", true) .field("path", "foo") .field("default", "1970-01-01") .startObject("fielddata").field("format", "doc_values").endObject()