njh / ruby-mqtt

Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
http://www.rubydoc.info/gems/mqtt
MIT License
541 stars 135 forks source link

Update FakeServer and integration test to avoid timeout on waiting for puback packet #80

Closed kidlab closed 8 years ago

kidlab commented 8 years ago

I'm using MQTT::FakeServer in my integration test and it failed when we publish messages with qos > 0. Then I figured out this problem :)

njh commented 8 years ago

Good improvement, thank you for your contribution.