Skip to content

Commit 66b7cc8

Browse files
xiancaorjeberhard
authored andcommitted
backport MR 4872 to main
1 parent 6c9b296 commit 66b7cc8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/LoggingExporter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
import static oracle.weblogic.kubernetes.assertions.impl.Kubernetes.isPodReady;
4747
import static oracle.weblogic.kubernetes.utils.CommonTestUtils.checkServiceExists;
4848
import static oracle.weblogic.kubernetes.utils.CommonTestUtils.testUntil;
49+
import static oracle.weblogic.kubernetes.utils.CommonTestUtils.withLongRetryPolicy;
4950
import static oracle.weblogic.kubernetes.utils.CommonTestUtils.withStandardRetryPolicy;
5051
import static oracle.weblogic.kubernetes.utils.ThreadSafeLogger.getLogger;
5152
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
@@ -103,6 +104,7 @@ public static boolean installElasticsearch(LoggingExporterParams params) {
103104
logger.info("Check if Elasticsearch deployment {0} is ready in namespace {1}",
104105
elasticsearchName, namespace);
105106
testUntil(
107+
withLongRetryPolicy,
106108
Deployment.isReady(elasticsearchName, labels, namespace),
107109
logger,
108110
"Elasticsearch deployment {0} to be completed in {1} namespace",
@@ -170,6 +172,7 @@ public static boolean installKibana(LoggingExporterParams params) {
170172
logger.info("Checking if Kibana deployment is ready {0} completed in namespace {1}",
171173
kibanaName, namespace);
172174
testUntil(
175+
withLongRetryPolicy,
173176
Deployment.isReady(kibanaName, labels, namespace),
174177
logger,
175178
"Kibana deployment {0} to be completed in namespace {1}",

integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/CommonMiiTestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ public static String readRuntimeResource(String adminSvcExtHost, String domainNa
11141114
e.printStackTrace();
11151115
}
11161116
} else {
1117-
if (OKE_CLUSTER_PRIVATEIP) {
1117+
if (OKE_CLUSTER_PRIVATEIP || OCNE) {
11181118
String protocol = "http";
11191119
String port = "7001";
11201120

0 commit comments

Comments
 (0)