ably-java icon indicating copy to clipboard operation
ably-java copied to clipboard

attach when transport closing

Open trenouf opened this issue 9 years ago • 1 comments

RealtimeReauthTest has a 2s delay after doing a reauthorise. Without it the test fails with an unexpected exception. ConnectionManager.onAuthUpdated() tells the transport to close, so when the test immediately attempts an attach() we are in a state where the transport cannot send anything, but ConnectionManager thinks it is still connected. That causes an exception.

┆Issue is synchronized with this Jira Task by Unito

trenouf avatar Oct 13 '16 15:10 trenouf

Thanks, good spot

mattheworiordan avatar Oct 13 '16 16:10 mattheworiordan