/** * Convenience method to return a WaitStrategy for an HTTPS endpoint. * * @param path the path to check * @return the WaitStrategy * @see HttpWaitStrategy */ public static HttpWaitStrategy forHttps(String path) { return forHttp(path) .usingTls(); }
/** * Convenience method to return a WaitStrategy for an HTTPS endpoint. * * @param path the path to check * @return the WaitStrategy * @see HttpWaitStrategy */ public static HttpWaitStrategy forHttps(String path) { return forHttp(path) .usingTls(); }
@Override protected void configure() { addEnv("discovery.type", "single-node"); // addEnv("xpack.security.enabled", "false"); withExposedPorts(9200); withStartupTimeout(Duration.ofSeconds(250L)); waitingFor(Wait.forHttp("/")); }