Skip to content

Commit 5348715

Browse files
author
Chris Wiechmann
committed
Trying to get the Rollback test running
1 parent 115ceac commit 5348715

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

modules/apis/src/test/java/com/axway/apim/test/rollback/RollbackTestIT.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ public void run(@Optional @CitrusResource TestContext context) throws IOExceptio
7373

7474
// In Version 7.6.2 SP2 (only this version) the API-Manager is able to create a FE-API based on host: https://unknown.host.com:443 for any reason
7575
// found no other way to force API-Manager to fail on initial FE-API creation!
76-
// Execute this test only on higher version for now
77-
if(APIManagerAdapter.hasAPIManagerVersion("7.6.2 SP3") &&
78-
(!APIManagerAdapter.hasAPIManagerVersion("7.7 SP1") || !APIManagerAdapter.hasAPIManagerVersion("7.6.2 SP5"))) {
76+
// Execute this test on later versions only for now
77+
if(APIManagerAdapter.hasAPIManagerVersion("7.6.2 SP3") && !APIManagerAdapter.hasAPIManagerVersion("7.6.2 SP5")) {
7978
echo("####### This will re-create the API, but it fails #######");
8079
createVariable(ImportTestAction.API_DEFINITION, "/com/axway/apim/test/files/basic/petstore2.json");
8180
createVariable(ImportTestAction.API_CONFIG, "/com/axway/apim/test/files/rollback/backendbasepath-config.json");

0 commit comments

Comments
 (0)