Commit 92c4d115298f6f3408959d4adc41b8cb4b79dc9f
1 parent
76424efce0
Exists in
master
and in
3 other branches
Revert "Specify variable types again in 2nd test"
This reverts commit 76424efce09006fff584f50483459db50383809e.
Showing 1 changed file with 3 additions and 3 deletions
kea_testing.groovy
View file @
92c4d11
... | ... | @@ -97,9 +97,9 @@ |
97 | 97 | if (responseCode != '200') { |
98 | 98 | error("$testName: Returned status code = $responseCode when calling $url") |
99 | 99 | } |
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) | |
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) | |
103 | 103 | if (responseCode != 'test1') { |
104 | 104 | error("$testName: Returned status code = $responseCode when calling $url") |
105 | 105 | } |