Skip to content
Snippets Groups Projects
Commit 708005ba authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7346: Experiment with minimum duration

parent c24eacdc
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,8 @@ public class ElasticsearchTestClient { ...@@ -49,7 +49,8 @@ public class ElasticsearchTestClient {
public static final ElasticsearchContainer ELASTICSEARCH_CONTAINER = new ElasticsearchContainer(IMAGE_NAME) public static final ElasticsearchContainer ELASTICSEARCH_CONTAINER = new ElasticsearchContainer(IMAGE_NAME)
.withExposedPorts(PORT) .withExposedPorts(PORT)
.withPassword(PASSWORD) .withPassword(PASSWORD)
.withStartupTimeout(STARTUP_TIMEOUT); .withStartupTimeout(STARTUP_TIMEOUT)
.withMinimumRunningDuration(Duration.ofSeconds(5));
public static ElasticsearchClient create() { public static ElasticsearchClient create() {
var transport = new RestClientTransport(buildRestClient(), new JacksonJsonpMapper()); var transport = new RestClientTransport(buildRestClient(), new JacksonJsonpMapper());
......
...@@ -48,10 +48,6 @@ ...@@ -48,10 +48,6 @@
</modules> </modules>
<properties> <properties>
<java.version>17</java.version>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<operator-sdk.version>5.4.1</operator-sdk.version> <operator-sdk.version>5.4.1</operator-sdk.version>
<!-- tools --> <!-- tools -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment