Minor chnages to groovy test scripts

This commit is contained in:
selva.andre
2014-02-22 20:14:43 +01:00
parent 6be1f99cf9
commit 37ec617801
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ MqttMessage message = new MqttMessage('Hello world!!'.bytes)
message.setQos(0)
print "publishing.."
long startTime = System.currentTimeMillis()
(1..10).each {
(1..100).each {
client.publish('topic', 'Hello world!!'.bytes, 0, false)
}
client.publish('/exit', 'Exit'.bytes, 0, false)
+1 -1
View File
@@ -71,4 +71,4 @@ println "subscribed to topic"
client.subscribe("/exit", 0)
println "subscribed to /exit"
callback.waitFinish()
callback.waitFinish()