TeslaCN commented on code in PR #28111:
URL: https://github.com/apache/shardingsphere/pull/28111#discussion_r1295416294
##########
test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/wait/JdbcConnectionWaitStrategy.java:
##########
@@ -37,7 +37,7 @@ public final class JdbcConnectionWaitStrategy extends
AbstractWaitStrategy {
@Override
protected void waitUntilReady() {
- Unreliables.retryUntilSuccess((int) startupTimeout.getSeconds(),
TimeUnit.SECONDS, this::mockRateLimiter);
+
Awaitility.await().ignoreException(RuntimeException.class).atMost(startupTimeout.getSeconds(),
TimeUnit.SECONDS).pollInterval(1L,
TimeUnit.SECONDS).until(this::mockRateLimiter);
Review Comment:
Duplicate with rate limiter of AbstractWaitStrategy
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]