Skip to content

Resgate disconnect tests #38

@jirenius

Description

@jirenius

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions