test(redshift): skip the initial poll delay when waiting for a cluster connection (#3984)

This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-09-20 09:14:01 -05:00
1 parent 56088ea268
commit 275977cb75
2 files changed
+2

No files matched your search

@@ -65,6 +65,7 @@ class RedshiftCatalogSeedIntegrationTest {
try {
return Awaitility.await()
.atMost(Duration.ofSeconds(30))
.pollDelay(Duration.ZERO)
.pollInterval(Duration.ofMillis(500))
.ignoreExceptions()
.until(() -> DriverManager.getConnection(jdbcUrl(cluster), username, password), Objects::nonNull);
@@ -45,6 +45,7 @@ class RedshiftProxyIntegrationTest {
try {
return Awaitility.await()
.atMost(Duration.ofSeconds(30))
.pollDelay(Duration.ZERO)
.pollInterval(Duration.ofMillis(500))
.ignoreExceptions()
.until(() -> DriverManager.getConnection(jdbcUrl(cluster), username, password), Objects::nonNull);