From 80bcf1f15d2431cbef2d83f4d75f86b439452b16 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Wed, 12 Aug 2015 22:00:27 +0200 Subject: [PATCH 1/3] Docs: Fixed a bad ID in the put mapping page --- docs/reference/indices/put-mapping.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/indices/put-mapping.asciidoc b/docs/reference/indices/put-mapping.asciidoc index dc8a5f194b9..25b6ce33917 100644 --- a/docs/reference/indices/put-mapping.asciidoc +++ b/docs/reference/indices/put-mapping.asciidoc @@ -70,7 +70,7 @@ In general, the mapping for existing fields cannot be updated. There are some exceptions to this rule. For instance: * new <> can be added to <> fields. -* new <> can be added to existing fields. +* new <> can be added to existing fields. * <> can be disabled, but not enabled. * the <> parameter can be updated. From 2eebbcf4507df431a99a32f4d08f330c8d97d12a Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Wed, 12 Aug 2015 15:00:43 -0600 Subject: [PATCH 2/3] [TEST] Use parent path for path.shared_data On our Jenkins instances the ${path.home} and createTempDir() locations share a different parent, so the custom index locations are not within the ${path.shared_data} directory. This is a hack to fix it until we can find a way to unify the createTempDir() and `path.shared_data` settings inside the tests --- dev-tools/src/main/resources/ant/integration-tests.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/src/main/resources/ant/integration-tests.xml b/dev-tools/src/main/resources/ant/integration-tests.xml index d3dd4cde3c3..3da39286400 100644 --- a/dev-tools/src/main/resources/ant/integration-tests.xml +++ b/dev-tools/src/main/resources/ant/integration-tests.xml @@ -173,7 +173,7 @@ - + From 0cb3e21a3ef96514cac5890527bee820aa72e77f Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Wed, 12 Aug 2015 15:44:19 -0600 Subject: [PATCH 3/3] [TEST] mark tests in IndicesCustomDataPathIT with AwaitsFix --- .../java/org/elasticsearch/indices/IndicesCustomDataPathIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/test/java/org/elasticsearch/indices/IndicesCustomDataPathIT.java b/core/src/test/java/org/elasticsearch/indices/IndicesCustomDataPathIT.java index 61a603daac4..46d6f126f81 100644 --- a/core/src/test/java/org/elasticsearch/indices/IndicesCustomDataPathIT.java +++ b/core/src/test/java/org/elasticsearch/indices/IndicesCustomDataPathIT.java @@ -71,6 +71,7 @@ public class IndicesCustomDataPathIT extends ESIntegTestCase { @Test @TestLogging("_root:DEBUG,index:TRACE") + @AwaitsFix(bugUrl = "path shenanigans, Lee is looking into it") public void testDataPathCanBeChanged() throws Exception { final String INDEX = "idx"; Path root = createTempDir(); @@ -140,6 +141,7 @@ public class IndicesCustomDataPathIT extends ESIntegTestCase { } @Test + @AwaitsFix(bugUrl = "path shenanigans, Lee is looking into it") public void testIndexCreatedWithCustomPathAndTemplate() throws Exception { final String INDEX = "myindex2"; internalCluster().startNodesAsync(1, nodeSettings(path));