Skip to content

Commit 9acd5fd

Browse files
committed
Merge branch 'fix-ci' into 2.x
2 parents ea7c302 + 0e4ed8d commit 9acd5fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integration-test/src/test/java/org/cloudfoundry/operations/NetworkPoliciesTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
package org.cloudfoundry.operations;
1818

1919
import org.cloudfoundry.AbstractIntegrationTest;
20+
import org.cloudfoundry.CloudFoundryVersion;
21+
import org.cloudfoundry.IfCloudFoundryVersion;
2022
import org.cloudfoundry.client.CloudFoundryClient;
2123
import org.cloudfoundry.client.v2.applications.CreateApplicationRequest;
2224
import org.cloudfoundry.client.v2.applications.CreateApplicationResponse;
@@ -45,6 +47,7 @@ public final class NetworkPoliciesTest extends AbstractIntegrationTest {
4547
@Autowired
4648
private Mono<String> spaceId;
4749

50+
@IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_1_12)
4851
@Test
4952
public void add() throws TimeoutException, InterruptedException {
5053
String destinationApplicationName = this.nameFactory.getApplicationName();
@@ -70,6 +73,7 @@ public void add() throws TimeoutException, InterruptedException {
7073
.verify(Duration.ofMinutes(5));
7174
}
7275

76+
@IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_1_12)
7377
@Test
7478
public void list() throws TimeoutException, InterruptedException {
7579
String destinationApplicationName = this.nameFactory.getApplicationName();
@@ -93,6 +97,7 @@ public void list() throws TimeoutException, InterruptedException {
9397
.verify(Duration.ofMinutes(5));
9498
}
9599

100+
@IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_1_12)
96101
@Test
97102
public void remove() throws TimeoutException, InterruptedException {
98103
String destinationApplicationName = this.nameFactory.getApplicationName();

0 commit comments

Comments
 (0)