[TEST] Made sure that the parent exists (foo is the parent type and not parent)

This commit is contained in:
Martijn van Groningen 2014-03-14 22:19:26 +07:00
parent 7869562930
commit 6f80b7737a

View File

@ -124,7 +124,7 @@ public class SimpleChildQuerySearchTests extends ElasticsearchIntegrationTest {
// see #2744
public void test2744() throws ElasticsearchException, IOException {
assertAcked(prepareCreate("test")
.addMapping("parent")
.addMapping("foo")
.addMapping("test", "_parent", "type=foo"));
ensureGreen();