test: quicker interval
Original commit: elastic/x-pack-elasticsearch@795827db7f
This commit is contained in:
parent
9a044735dd
commit
b0a16e36fd
|
@ -76,7 +76,7 @@ public class HttpInputIntegrationTest extends AbstractWatcherIntegrationTests {
|
||||||
InetSocketAddress address = internalTestCluster().httpAddresses()[0];
|
InetSocketAddress address = internalTestCluster().httpAddresses()[0];
|
||||||
watcherClient().preparePutWatch("_name")
|
watcherClient().preparePutWatch("_name")
|
||||||
.setSource(watchBuilder()
|
.setSource(watchBuilder()
|
||||||
.trigger(schedule(interval("5s")))
|
.trigger(schedule(interval("1s")))
|
||||||
.input(httpInput(HttpRequestTemplate.builder(address.getHostName(), address.getPort())
|
.input(httpInput(HttpRequestTemplate.builder(address.getHostName(), address.getPort())
|
||||||
.path("/_cluster/stats")
|
.path("/_cluster/stats")
|
||||||
.auth(shieldEnabled() ? new BasicAuth("test", "changeme") : null)))
|
.auth(shieldEnabled() ? new BasicAuth("test", "changeme") : null)))
|
||||||
|
|
Loading…
Reference in New Issue