Test: make sure index `test` exists
Original commit: elastic/x-pack-elasticsearch@4c4b7af85d
This commit is contained in:
parent
46f75d8fa1
commit
9bb38fa4e1
|
@ -52,6 +52,7 @@ public class HttpInputIntegrationTest extends AbstractWatcherIntegrationTests {
|
|||
@Test
|
||||
public void testHttpInput() throws Exception {
|
||||
ScriptServiceProxy sc = scriptService();
|
||||
createIndex("index");
|
||||
client().prepareIndex("index", "type", "id").setSource("{}").setRefresh(true).get();
|
||||
|
||||
InetSocketAddress address = internalTestCluster().httpAddresses()[0];
|
||||
|
|
Loading…
Reference in New Issue