Test: make sure index `test` exists

Original commit: elastic/x-pack-elasticsearch@4c4b7af85d
This commit is contained in:
Martijn van Groningen 2015-04-01 21:37:08 +02:00
parent 46f75d8fa1
commit 9bb38fa4e1
1 changed files with 1 additions and 0 deletions

View File

@ -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];