aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/robotframework
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-03-15 15:58:30 +0100
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-03-15 15:43:10 +0000
commite5fa5904de84806b636892ba2d5981b57eee51fc (patch)
tree52f57f1b2ee43f96984083fbb179a84e5b297f88 /src/test/resources/robotframework
parentb2e2ff0863eaf22859fd98cf799131db13f96e60 (diff)
Fix the robot framework test chain
Freeze the robot framework docker version used to avoid unstable build + fix the second test + add logs to robot framework test so that the result is dumped to stdout. We can therefore analyze the issue directly in the clamp build log. Issue-ID: POLICY-3135 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia078a074fda7fa9bc4e6320408e86987fd8dd25d (cherry picked from commit 396cb9b814626a0383ee49a928f4e534264170aa)
Diffstat (limited to 'src/test/resources/robotframework')
-rw-r--r--src/test/resources/robotframework/Dockerfile2
-rw-r--r--src/test/resources/robotframework/tests/02_policy_queries.robot2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/resources/robotframework/Dockerfile b/src/test/resources/robotframework/Dockerfile
index 7e0bf8a26..03d180c5e 100644
--- a/src/test/resources/robotframework/Dockerfile
+++ b/src/test/resources/robotframework/Dockerfile
@@ -1,4 +1,4 @@
-FROM ppodgorsek/robot-framework:latest
+FROM ppodgorsek/robot-framework:3.8.0
USER root
COPY requirements.txt .
diff --git a/src/test/resources/robotframework/tests/02_policy_queries.robot b/src/test/resources/robotframework/tests/02_policy_queries.robot
index e62e03476..713a39f52 100644
--- a/src/test/resources/robotframework/tests/02_policy_queries.robot
+++ b/src/test/resources/robotframework/tests/02_policy_queries.robot
@@ -16,6 +16,6 @@ Get Requests policies list ok
${auth} = Create List ${login} ${passw}
Create Session clamp http://localhost:${port} auth=${auth} disable_warnings=1
Set Global Variable ${clamp_session} clamp
- ${response_query}= Get Request ${clamp_session} /restservices/clds/v2/policies/list
+ ${response_query}= Get Request ${clamp_session} /restservices/clds/v2/policies
Should Be Equal As Strings ${response_query.status_code} 200
Should Contain ${response_query.text} ${reponse_pdp_group} \ No newline at end of file