summaryrefslogtreecommitdiffstats
path: root/test-apis-ci
diff options
context:
space:
mode:
Diffstat (limited to 'test-apis-ci')
-rw-r--r--test-apis-ci/pom.xml3
-rw-r--r--test-apis-ci/src/test/java/org/openecomp/sdc/cucumber/steps/StepsTenantIsolationCI.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/test-apis-ci/pom.xml b/test-apis-ci/pom.xml
index f5b36598ad..2bbf089840 100644
--- a/test-apis-ci/pom.xml
+++ b/test-apis-ci/pom.xml
@@ -13,6 +13,7 @@
<properties>
<sonar.skip>true</sonar.skip>
+ <mockserver.netty.version>5.5.4</mockserver.netty.version>
</properties>
<dependencies>
@@ -340,7 +341,7 @@
<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-netty</artifactId>
- <version>3.10.4</version>
+ <version>${mockserver.netty.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
diff --git a/test-apis-ci/src/test/java/org/openecomp/sdc/cucumber/steps/StepsTenantIsolationCI.java b/test-apis-ci/src/test/java/org/openecomp/sdc/cucumber/steps/StepsTenantIsolationCI.java
index 98c62912c1..0910a30b47 100644
--- a/test-apis-ci/src/test/java/org/openecomp/sdc/cucumber/steps/StepsTenantIsolationCI.java
+++ b/test-apis-ci/src/test/java/org/openecomp/sdc/cucumber/steps/StepsTenantIsolationCI.java
@@ -48,7 +48,7 @@ import java.util.stream.Collectors;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
-import static org.mockserver.model.HttpCallback.callback;
+import static org.mockserver.model.HttpClassCallback.callback;
import static org.mockserver.model.HttpRequest.request;
import static org.mockserver.model.HttpResponse.response;
import static org.openecomp.sdc.common.datastructure.FunctionalInterfaces.retryMethodOnResult;
@@ -138,7 +138,7 @@ public class StepsTenantIsolationCI {
@Given("^MSO Final Distribution Simulator is UP$")
public void mso_Final_Distribution_Simulator_is_UP() throws Throwable {
msoHttpRequest = request().withPath(MSO_PATH_REGEX);
- msoMockServer.when(msoHttpRequest).callback(
+ msoMockServer.when(msoHttpRequest).forward(
callback().withCallbackClass("org.openecomp.sdc.cucumber.steps.PrecannedTestExpectationCallback"));
}