mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-02 00:49:11 +00:00
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
|
@Test
|
||||||
public void testHttpInput() throws Exception {
|
public void testHttpInput() throws Exception {
|
||||||
ScriptServiceProxy sc = scriptService();
|
ScriptServiceProxy sc = scriptService();
|
||||||
|
createIndex("index");
|
||||||
client().prepareIndex("index", "type", "id").setSource("{}").setRefresh(true).get();
|
client().prepareIndex("index", "type", "id").setSource("{}").setRefresh(true).get();
|
||||||
|
|
||||||
InetSocketAddress address = internalTestCluster().httpAddresses()[0];
|
InetSocketAddress address = internalTestCluster().httpAddresses()[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user