Commit 76424efce09006fff584f50483459db50383809e
1 parent
55bf5645fc
Exists in
master
and in
3 other branches
Specify variable types again in 2nd test
Showing 1 changed file with 3 additions and 3 deletions
kea_testing.groovy
View file @
76424ef
... | ... | @@ -97,9 +97,9 @@ |
97 | 97 | if (responseCode != '200') { |
98 | 98 | error("$testName: Returned status code = $responseCode when calling $url") |
99 | 99 | } |
100 | - testName = "KEA_F004" | |
101 | - url = "mqtt://${HOST_IP}:1883/test" | |
102 | - responseCode = sh(label: testName, script: "sleep 2 ; curl -d 1 $url & OUT=`curl -m 4 -s $url` ; echo $OUT", returnStdout: true) | |
100 | + String testName = "KEA_F004" | |
101 | + String url = "mqtt://${HOST_IP}:1883/test" | |
102 | + String responseCode = sh(label: testName, script: "sleep 2 ; curl -d 1 $url & OUT=`curl -m 4 -s $url` ; echo $OUT", returnStdout: true) | |
103 | 103 | if (responseCode != 'test1') { |
104 | 104 | error("$testName: Returned status code = $responseCode when calling $url") |
105 | 105 | } |