Skip to content

Commit 7db0e8a

Browse files
committed
.
1 parent 920bc66 commit 7db0e8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wrapper/src/test/java/integration/container/tests/metrics/DatabasePerformanceMetricTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ public void waitForClusterRecover() throws InterruptedException {
181181
final DatabaseEngineDeployment deployment =
182182
TestEnvironment.getCurrent().getInfo().getRequest().getDatabaseEngineDeployment();
183183

184+
clearCaches();
185+
184186
// Try 3 times to check cluster health status
185187
int remainingTries = 3;
186188
boolean success = false;
@@ -209,7 +211,6 @@ public void waitForClusterRecover() throws InterruptedException {
209211
throw new RuntimeException("Not healthy.");
210212
}
211213

212-
clearCaches();
213214
LOGGER.finest("Cluster " + TestEnvironment.getCurrent().getInfo().getRdsDbName() + " is healthy.");
214215
}
215216

0 commit comments

Comments
 (0)