Minor chnages to groovy test scripts
This commit is contained in:
@@ -17,7 +17,7 @@ MqttMessage message = new MqttMessage('Hello world!!'.bytes)
|
|||||||
message.setQos(0)
|
message.setQos(0)
|
||||||
print "publishing.."
|
print "publishing.."
|
||||||
long startTime = System.currentTimeMillis()
|
long startTime = System.currentTimeMillis()
|
||||||
(1..10).each {
|
(1..100).each {
|
||||||
client.publish('topic', 'Hello world!!'.bytes, 0, false)
|
client.publish('topic', 'Hello world!!'.bytes, 0, false)
|
||||||
}
|
}
|
||||||
client.publish('/exit', 'Exit'.bytes, 0, false)
|
client.publish('/exit', 'Exit'.bytes, 0, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user