-
Notifications
You must be signed in to change notification settings - Fork 25
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
RTL4f #192
RTL4f #192
Conversation
LGTM |
transport.actionsIgnored += [.Attached] | ||
|
||
let channel = client.channel("test") | ||
channel.attach() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this test more deterministic, I would prefer that you instanced the library with a lower realtimeRequestTimeout
such as 3s, and then following attach
, you should expect the state to change to failed in exactly 3s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattheworiordan realtimeRequestTimeout
is currently readonly and I can't hack that method because it is a static method. The user should have access to change that option or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See http://docs.ably.io/client-lib-development-guide/features/#DF1b, it's not a documented API, but we've made this configurable in our client libraries and left it undocumented for exactly this reason
Rebased with changes. |
LGTM, 👍 |
❌ Not passing.