Skip to content

fix: closed client should be able to reconnect#45

Merged
mcollina merged 5 commits intonodejs:masterfrom
nxtedition:closed-reconnect
May 4, 2020
Merged

fix: closed client should be able to reconnect#45
mcollina merged 5 commits intonodejs:masterfrom
nxtedition:closed-reconnect

Conversation

@ronag
Copy link
Member

@ronag ronag commented May 3, 2020

No description provided.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a unit test?

@ronag
Copy link
Member Author

ronag commented May 3, 2020

added test

@ronag
Copy link
Member Author

ronag commented May 3, 2020

I've put a few commits into this PR to avoid the whole endless conflicts thing. The commits should be somewhat related. Hope you don't mind.

@ronag ronag force-pushed the closed-reconnect branch 4 times, most recently from 116fb46 to 5bd60c2 Compare May 3, 2020 20:41

test('POST which fails should error response', (t) => {
t.plan(2)
t.plan(4)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn’t call all the calllbacks before

@ronag ronag force-pushed the closed-reconnect branch from ffcb3dc to 378c900 Compare May 4, 2020 04:19
@ronag ronag force-pushed the closed-reconnect branch from 378c900 to dcc0124 Compare May 4, 2020 04:20
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit b1495fa into nodejs:master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants