Skip to content

Commit a05967c

Browse files
committed
added sleep to wait for grafana readiness5
1 parent 4d3993e commit a05967c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@ private static void installPrometheusGrafanaViaChart() throws Exception {
11221122
private static void uninstallPrometheusGrafanaViaChart() throws Exception {
11231123
String monitoringExporterEndToEndDir =
11241124
monitoringExporterDir + "/src/samples/kubernetes/end2end/";
1125+
logger.info("Uninstalling grafana");
11251126
// uninstall grafana
11261127
String crdCmd = "helm delete --purge grafana";
11271128
ExecCommand.exec(crdCmd);
@@ -1131,6 +1132,7 @@ private static void uninstallPrometheusGrafanaViaChart() throws Exception {
11311132
ExecCommand.exec(crdCmd);
11321133

11331134
// uninstall prometheus
1135+
logger.info("Uninstalling prometheus");
11341136
crdCmd = "helm delete --purge prometheus";
11351137
ExecCommand.exec(crdCmd);
11361138
crdCmd = "kubectl delete -f " + monitoringExporterEndToEndDir + "/prometheus/persistence.yaml";
@@ -1149,7 +1151,7 @@ private static void uninstallMySQL() throws Exception {
11491151
String monitoringExporterEndToEndDir =
11501152
monitoringExporterDir + "/src/samples/kubernetes/end2end/";
11511153
// unnstall mysql
1152-
1154+
logger.info("Uninstalling mysql");
11531155
String crdCmd = " kubectl delete -f " + monitoringExporterEndToEndDir + "mysql/mysql.yaml";
11541156
ExecCommand.exec(crdCmd);
11551157

0 commit comments

Comments
 (0)