Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
maybe!
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jan 9, 2017
1 parent 012f198 commit 203ea31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/abstract_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2036,10 +2036,11 @@ module.exports = function(moscaSettings, createConnection) {

subscriber.once("publish", function(packet) {
subscriber.puback({ messageId: packet.messageId });
setImmediate(function () {
setTimeout(function () {
console.log('disconnect');
subscriber.disconnect();
cb();
});
}, 500);
});
}

Expand Down

0 comments on commit 203ea31

Please sign in to comment.