-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unauthenticated connection will unregister the current connected one #337
Conversation
The CI failed with But it is not my case. The master branch also failed with this one. |
Would you mind adding a unit test? --- We'll need a fix for the failing test as well. |
done :) |
@seeLuck there is one test that is failing not ok 335 one connected clients
---
operator: equal
expected: 1
actual: 2
at: <anonymous> (/home/travis/build/mcollina/aedes/test/meta.js:30:11)
stack: |-
Error: one connected clients
at Test.assert [as _assert] (/home/travis/build/mcollina/aedes/node_modules/tape/lib/test.js:225:54)
at Test.bound [as _assert] (/home/travis/build/mcollina/aedes/node_modules/tape/lib/test.js:77:32)
at Test.equal (/home/travis/build/mcollina/aedes/node_modules/tape/lib/test.js:385:10)
at Test.bound [as equal] (/home/travis/build/mcollina/aedes/node_modules/tape/lib/test.js:77:32)
at /home/travis/build/mcollina/aedes/test/meta.js:30:11
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
... |
@robertsLando |
There was some problem with tests that have been fixed by a recent PR, now should be good
… On 19 Dec 2019, at 03:21, seeLuck ***@***.***> wrote:
@robertsLando
It seems not mine problem, I just merge the branch and all passed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@mcollina |
Landed, I hope I can get a new release out soon. |
This commit fix bug:
Two connection with same client id. Connection A passed
authenticate
and connect to broker successfully. Connection B reject byauthenticate
and failed to connect to broker.While with this failed Connection B, the current client info will be unregisted in broker.
Few lines to fix it.