-
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
Add rtl6d1 #802
Add rtl6d1 #802
Conversation
1b141d2
to
5e57937
Compare
0f15ae1
to
68e88ac
Compare
expect(protocolMessages.count).to(beGreaterThan(1)) | ||
// verify that all the messages have been sent | ||
let messagesSent = protocolMessages.compactMap{$0.messages?.count}.reduce(0, +) | ||
expect(messagesSent).to(equal(messagesToBeSent)) |
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.
I can't detect where the resulting ProtocolMesssage
is not exceeding the maxMessageSize
. I think you should check if the messages are being blocked if the total size is exceeding the maxMessageSize
, right?
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.
I had exactly the same thought at first :)
But this is queued messages, so the iOS client should bundle them in a way that the resulting protocol message does not exceed max size.
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.
Oh I see 😄 That's why the beGreaterThan(1)
.
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.
LGTM, thanks
Adds
RTL6d1