[TEST] Made sure that the parent exists (`foo` is the parent type and not `parent`)
This commit is contained in:
parent
7869562930
commit
6f80b7737a
|
@ -124,7 +124,7 @@ public class SimpleChildQuerySearchTests extends ElasticsearchIntegrationTest {
|
||||||
// see #2744
|
// see #2744
|
||||||
public void test2744() throws ElasticsearchException, IOException {
|
public void test2744() throws ElasticsearchException, IOException {
|
||||||
assertAcked(prepareCreate("test")
|
assertAcked(prepareCreate("test")
|
||||||
.addMapping("parent")
|
.addMapping("foo")
|
||||||
.addMapping("test", "_parent", "type=foo"));
|
.addMapping("test", "_parent", "type=foo"));
|
||||||
ensureGreen();
|
ensureGreen();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue