Skip to content

Commit

Permalink
Marking ServiceBrokersTest as requiring CF 2.10+ (#1119)
Browse files Browse the repository at this point in the history
On older versions, there API does not seem complete or has at least evolved. The older versions are not compatible with the implementation.

Signed-off-by: Daniel Mikusa <dmikusa@vmware.com>
  • Loading branch information
Daniel Mikusa committed Aug 26, 2021
1 parent 4adaebb commit d89c099
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public enum CloudFoundryVersion {

PCF_2_10(Version.forIntegers(2, 150, 0)),

PCF_2_11(Version.forIntegers(2, 164, 0)),

UNSPECIFIED(Version.forIntegers(0));

private final Version version;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

import org.cloudfoundry.AbstractIntegrationTest;
import org.cloudfoundry.ApplicationUtils;
import org.cloudfoundry.CloudFoundryVersion;
import org.cloudfoundry.IfCloudFoundryVersion;
import org.cloudfoundry.ServiceBrokerUtils;
import org.cloudfoundry.client.CloudFoundryClient;
import org.cloudfoundry.client.v3.servicebrokers.BasicAuthentication;
Expand Down Expand Up @@ -47,6 +49,7 @@
import static org.cloudfoundry.ServiceBrokerUtils.createServiceBroker;
import static org.cloudfoundry.ServiceBrokerUtils.deleteServiceBroker;

@IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_2_10)
public final class ServiceBrokersTest extends AbstractIntegrationTest {

@Autowired
Expand Down

0 comments on commit d89c099

Please sign in to comment.