diff --git a/ozgcloud-elasticsearch-operator/src/test/java/de/ozgcloud/operator/common/elasticsearch/ElasticsearchTestClient.java b/ozgcloud-elasticsearch-operator/src/test/java/de/ozgcloud/operator/common/elasticsearch/ElasticsearchTestClient.java
index 46f884e170556cce243b4cc2eb6bd0696334cde0..adfbbee5093015e852d7ca7ea84713108a32d297 100644
--- a/ozgcloud-elasticsearch-operator/src/test/java/de/ozgcloud/operator/common/elasticsearch/ElasticsearchTestClient.java
+++ b/ozgcloud-elasticsearch-operator/src/test/java/de/ozgcloud/operator/common/elasticsearch/ElasticsearchTestClient.java
@@ -49,7 +49,8 @@ public class ElasticsearchTestClient {
 	public static final ElasticsearchContainer ELASTICSEARCH_CONTAINER = new ElasticsearchContainer(IMAGE_NAME)
 			.withExposedPorts(PORT)
 			.withPassword(PASSWORD)
-			.withStartupTimeout(STARTUP_TIMEOUT);
+			.withStartupTimeout(STARTUP_TIMEOUT)
+			.withMinimumRunningDuration(Duration.ofSeconds(5));
 
 	public static ElasticsearchClient create() {
 		var transport = new RestClientTransport(buildRestClient(), new JacksonJsonpMapper());
diff --git a/pom.xml b/pom.xml
index a769f929307e4ee6d74e3280d04e88edc7a11ca8..f113465263dc15b3b7508086899cd3aa5da69f84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,10 +48,6 @@
 	</modules>
 
 	<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>
 
 		<!-- tools -->