Skip to content

Commit 8fa9ea3

Browse files
committed
Polishing.
Refine tests to ensure proper timing out. [#680][#670]
1 parent 0b7471a commit 8fa9ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/io/r2dbc/postgresql/client/ReactorNettyClientIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ void parallelExchange() {
294294
@Test
295295
void timeoutTest() {
296296
PostgresqlConnectionFactory postgresqlConnectionFactory = new PostgresqlConnectionFactory(PostgresqlConnectionConfiguration.builder()
297-
.host("example.com")
297+
.host("1.2.3.4")
298298
.port(81)
299299
.username("test")
300300
.password("test")
301301
.database(SERVER.getDatabase())
302302
.applicationName(ReactorNettyClientIntegrationTests.class.getName())
303-
.connectTimeout(Duration.ofMillis(200))
303+
.connectTimeout(Duration.ofMillis(1))
304304
.build());
305305

306306
postgresqlConnectionFactory.create()

0 commit comments

Comments
 (0)