From 3d1540d58fe0f2d8ae865d727f11b0a3d29badeb Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Thu, 28 Oct 2021 22:47:09 +0300 Subject: [PATCH] Revert "Disable test F005 temporarily" This reverts commit 6a24f8715cd62cd78375a35c3c4ff01719eb7118. --- kea_testing.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kea_testing.groovy b/kea_testing.groovy index fd6eb92..cbbef22 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -68,9 +68,9 @@ pipeline { url = "$APP_URL/api/capec" 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) echo responseCode - //if (responseCode != '200') { - // error("$testName: Returned status code = $responseCode when calling $url") - //} + if (responseCode != '200') { + error("$testName: Returned status code = $responseCode when calling $url") + } testName = "KEA_F006" url = "https://kea-grafana.vlahavas.com/api/dashboards/home" -- 2.2.2