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

[INDY_2306]: Remove size limit for outbound msgs #1429

Merged
merged 1 commit into from
Dec 11, 2019

Conversation

nemqe
Copy link
Contributor

@nemqe nemqe commented Dec 9, 2019

Signed-off-by: Nemanja Patrnogic 3052405+donqui@users.noreply.github.com

def check_received(value):
assert beta_msg_handler.receivedMsgCount == value

msg_value_len = MSG_LEN_LIMIT - len("{'k':''}")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, that we need to synchronize template {'k':''} and template which makes msg, {'k': 'v'}. I mean count of whitespaces and value. As i understand, this test needs for showing that we allow messages with size more then MSG_LEN_LIMIT. Maybe we should simplify this case for checking message with serialized length more and less then MSG_LEN_LIMIT?
I mean, that we can use parameterized fixture which return whole message with serialized length less and more then MSG_LEN_LIMIT.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made some changes, hopefully it makes more sense now...

Signed-off-by: Nemanja Patrnogic <3052405+donqui@users.noreply.github.com>
@nemqe nemqe changed the title [INDY_2306]: Remote size limit for outbound msgs [INDY_2306]: Remove size limit for outbound msgs Dec 10, 2019
@skhoroshavin skhoroshavin merged commit f45230b into hyperledger:master Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants