Skip to content

Commit 33e25ae

Browse files
author
Daniel Mikusa
committed
Fixes issue with failing integration tests. This test was changing the available group of TCP ports, while another test was trying to reserve a TCP port not in the updated range. This broke the other test.
1 parent d97bd50 commit 33e25ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration-test/src/test/java/org/cloudfoundry/routing/v1/RouterGroupsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ public void update() {
5757
getRouterGroupId(this.routingClient, DEFAULT_ROUTER_GROUP)
5858
.flatMap(routerGroupId -> this.routingClient.routerGroups()
5959
.update(UpdateRouterGroupRequest.builder()
60-
.reservablePorts("61001-61099")
60+
.reservablePorts("1025-1122")
6161
.routerGroupId(routerGroupId)
6262
.build()))
6363
.map(UpdateRouterGroupResponse::getReservablePorts)
6464
.as(StepVerifier::create)
65-
.expectNext("61001-61099")
65+
.expectNext("1025-1122")
6666
.expectComplete()
6767
.verify(Duration.ofMinutes(5));
6868
}

0 commit comments

Comments
 (0)