Skip to content
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

Resgate disconnect tests #38

Open
jirenius opened this issue Dec 5, 2019 · 0 comments
Open

Resgate disconnect tests #38

jirenius opened this issue Dec 5, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@jirenius
Copy link
Collaborator

jirenius commented Dec 5, 2019

Issue

Unit tests should be added to cover ResClient's behavior on unexpected disconnects.

Scope

The tests should describe unexpected disconnect, and test that:

  • it does nothing if no subscriptions exists and no requests are pending
  • it connects after an unexpected disconnect on first subscription
  • it connects after an unexpected disconnect on first call
  • it directly attempts to reconnect and resubscribe to existing subscriptions
  • it rejects pending requests with a system.connectionError error
@jirenius jirenius added the enhancement New feature or request label Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant