Commit 3d1540d58fe0f2d8ae865d727f11b0a3d29badeb
1 parent
546bec5fd6
Exists in
master
and in
2 other branches
Revert "Disable test F005 temporarily"
This reverts commit 6a24f8715cd62cd78375a35c3c4ff01719eb7118.
Showing 1 changed file with 3 additions and 3 deletions
kea_testing.groovy
View file @
3d1540d
... | ... | @@ -68,9 +68,9 @@ |
68 | 68 | url = "$APP_URL/api/capec" |
69 | 69 | responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url -o /dev/null", returnStdout: true) |
70 | 70 | echo responseCode |
71 | - //if (responseCode != '200') { | |
72 | - // error("$testName: Returned status code = $responseCode when calling $url") | |
73 | - //} | |
71 | + if (responseCode != '200') { | |
72 | + error("$testName: Returned status code = $responseCode when calling $url") | |
73 | + } | |
74 | 74 | |
75 | 75 | testName = "KEA_F006" |
76 | 76 | url = "https://kea-grafana.vlahavas.com/api/dashboards/home" |