Skip to content

Commit 68f8275

Browse files
committed
Merge remote-tracking branch 'origin/develop' into cluster-template
2 parents 6f69c9c + 1b4e345 commit 68f8275

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ItMonitoringExporter.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private static void gitCloneMonitoringExporter() throws Exception {
161161
logger.info(" Cloning and building Weblogic Server Monitoring Exporter application");
162162
// git clone exporter project
163163
removeAndClone
164-
.append(" git clone -b alert https://github.com/oracle/weblogic-monitoring-exporter.git ")
164+
.append(" git clone https://github.com/oracle/weblogic-monitoring-exporter.git ")
165165
.append(monitoringExporterSrcDir);
166166
TestUtils.exec(removeAndClone.toString());
167167
}
@@ -825,7 +825,6 @@ public void test19_EndToEndViaChart() throws Exception {
825825
installPrometheusGrafanaViaChart();
826826
fireAlert();
827827
} finally {
828-
/*
829828
uninstallWebHookPrometheusGrafanaViaChart();
830829
uninstallMysql();
831830

@@ -837,8 +836,6 @@ public void test19_EndToEndViaChart() throws Exception {
837836
if (operator1 != null) {
838837
operator1.destroy();
839838
}
840-
*/
841-
842839
}
843840
testCompletedSuccessfully = true;
844841
logger.info("SUCCESS - " + testMethodName);
@@ -855,8 +852,8 @@ private void fireAlert() throws Exception {
855852

856853
TestUtils.checkPodReady("domain1-admin-server", "default");
857854
TestUtils.checkPodReady("domain1-managed-server-1", "default");
858-
//sleep for 1.30 min to fire alert
859-
Thread.sleep(90000);
855+
//sleep for 2 min to fire alert
856+
Thread.sleep(120000);
860857
String webhookPod = getPodName("webhook", "webhook");
861858
String command = "kubectl -n webhook logs " + webhookPod;
862859
ExecResult webhookResult = TestUtils.exec(command);

0 commit comments

Comments
 (0)