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-2289]: Additional tests #1428

Merged
merged 2 commits into from
Dec 10, 2019
Merged

[INDY-2289]: Additional tests #1428

merged 2 commits into from
Dec 10, 2019

Conversation

nemqe
Copy link
Contributor

@nemqe nemqe commented Dec 9, 2019

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

Signed-off-by: Nemanja Patrnogic <3052405+donqui@users.noreply.github.com>
assert len(alpha._stashed_to_disconnected) == 0
assert len(beta._stashed_unknown_remote_msgs) == len(sent_msgs)
for index, item in enumerate(sent_msgs):
assert item == beta._stashed_unknown_remote_msgs[index][0]

Choose a reason for hiding this comment

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

Can we check, that item was sent from alpha? Does _stashed_unknown_remote_msgs include this information? If i understood correctly if beta is not connected to alpha we can use only public key as alpha's marker.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it, take a look and tell me if it is an appropriate way to do this.

Signed-off-by: Nemanja Patrnogic <3052405+donqui@users.noreply.github.com>
@lampkin-diet lampkin-diet merged commit 384d4b2 into hyperledger:master Dec 10, 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

2 participants