Commit a440995cf06bee01436ca63cabc05d24da1d54ff
1 parent
8f78eca8a6
Exists in
master
and in
3 other branches
Move KEA_F003 to the end
Showing 1 changed file with 6 additions and 6 deletions
kea_testing.groovy
View file @
a440995
... | ... | @@ -103,12 +103,6 @@ |
103 | 103 | if (responseCode != '200') { |
104 | 104 | error("$testName: Returned status code = $responseCode when calling $url") |
105 | 105 | } |
106 | - testName = "KEA_F003" | |
107 | - url = "$APP_URL:13880/components/mltd" | |
108 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
109 | - if (responseCode != '200') { | |
110 | - error("$testName: Returned status code = $responseCode when calling $url") | |
111 | - } | |
112 | 106 | testName = "KEA_F004" |
113 | 107 | url = "mqtt://${HOST_IP}:1883/test" |
114 | 108 | responseCode = sh(label: testName, script: "sleep 2 ; curl -d 1 $url & OUT=`curl -m 4 -s $url` ; echo $OUT", returnStdout: true) |
... | ... | @@ -134,6 +128,12 @@ |
134 | 128 | } |
135 | 129 | testName = "KEA_F008" |
136 | 130 | url = "$APP_URL:13880/components/od" |
131 | + responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
132 | + if (responseCode != '200') { | |
133 | + error("$testName: Returned status code = $responseCode when calling $url") | |
134 | + } | |
135 | + testName = "KEA_F003" | |
136 | + url = "$APP_URL:13880/components/mltd" | |
137 | 137 | responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) |
138 | 138 | if (responseCode != '200') { |
139 | 139 | error("$testName: Returned status code = $responseCode when calling $url") |