mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
test(redshift): skip the initial poll delay when waiting for a cluster connection (#3984)
This commit is contained in:
1 parent
56088ea268
commit
275977cb75
2 files changed
+2
No files matched your search
+1
@@ -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);
|
||||
|
||||
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user