Skip to content

Commit f0bfb21

Browse files
committed
Merge pull request apache#258 from tolbertam/PoolingOptionsTest-wait-for-up
Improve PoolingOptionsTest#should_refresh_single_connected_host() resiliency.
2 parents b8460ef + 3babd24 commit f0bfb21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/test/java/com/datastax/driver/core/PoolingOptionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void should_refresh_single_connected_host() {
6363
.hasState(State.UP)
6464
.isAtDistance(HostDistance.LOCAL);
6565
assertThat(cluster).host(3)
66-
.hasState(State.UP)
66+
.comesUpWithin(120, SECONDS)
6767
.isAtDistance(HostDistance.IGNORED);
6868
assertThat(session).hasNoPoolFor(3);
6969

0 commit comments

Comments
 (0)