Skip to content

Commit

Permalink
Rev bpmux dep
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Jan 26, 2017
1 parent 53ec030 commit 4072b61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ client). It also supports the following additional property:
- `{Boolean} defer_to_final_handler` If `true` then a message stream is only
considered finished when all `MQlobberServer` objects finish processing it.
Defaults to `false`.
*/
function MQlobberServer(fsq, stream, options)
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mqlobber",
"description": "Streaming message queue with pub-sub, work queues, wildcards and back-pressure. Just Node and a filesystem required.",
"version": "4.0.0",
"version": "4.0.1",
"homepage": "https://github.com/davedoesdev/mqlobber",
"author": {
"name": "David Halls",
Expand Down Expand Up @@ -34,7 +34,7 @@
"back-pressure"
],
"dependencies": {
"bpmux": "~3.4.0",
"bpmux": "~4.0.0",
"qlobber": "~0.7.0",
"object.assign": "~4.0.4"
},
Expand Down
5 changes: 3 additions & 2 deletions test/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -3244,20 +3244,21 @@ describe(type, function ()
this.read();
});

cs.end();

var mqclient = new MQlobberClient(cs);

mqclient.on('error', function (err)
{
expect(err.message).to.be.oneOf(
[
'carrier stream ended before end message received',
'carrier stream finished before duplex finished',
'write after end'
]);
errored = true;
check();
});

cs.end();
});
});

Expand Down

0 comments on commit 4072b61

Please sign in to comment.