From 9bb38fa4e1b2409b30b1ec5d3159caf8eb8786dc Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Wed, 1 Apr 2015 21:37:08 +0200 Subject: [PATCH] Test: make sure index `test` exists Original commit: elastic/x-pack-elasticsearch@4c4b7af85dd4cd431be4061b395e1be9af8e082c --- .../watcher/test/integration/HttpInputIntegrationTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/elasticsearch/watcher/test/integration/HttpInputIntegrationTest.java b/src/test/java/org/elasticsearch/watcher/test/integration/HttpInputIntegrationTest.java index b02c4a0246c..12207203c9d 100644 --- a/src/test/java/org/elasticsearch/watcher/test/integration/HttpInputIntegrationTest.java +++ b/src/test/java/org/elasticsearch/watcher/test/integration/HttpInputIntegrationTest.java @@ -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];