Skip to content

Commit 11fe940

Browse files
committed
[TESTS] Add explicit mappings to IndexAliasesTests.testSearchingFilteringAliasesSingleIndex
This makes sure that all shards know about the `_uid` field.
1 parent 12ca365 commit 11fe940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/elasticsearch/aliases/IndexAliasesTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public void testEmptyFilter() throws Exception {
153153
@Test
154154
public void testSearchingFilteringAliasesSingleIndex() throws Exception {
155155
logger.info("--> creating index [test]");
156-
createIndex("test");
156+
assertAcked(prepareCreate("test").addMapping("type1", "id", "type=string", "name", "type=string"));
157157

158158
ensureGreen();
159159

0 commit comments

Comments
 (0)