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

fix(tests): p2p ctx mocking issue #1981

Merged
merged 3 commits into from
Oct 3, 2023
Merged

Conversation

onur-ozkan
Copy link
Member

@onur-ozkan onur-ozkan commented Oct 3, 2023

For some reason, mocktopus dependency can not mock the p2p context after the p2p stack upgrade.
This PR fixes that(by not doing it magically).

Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan onur-ozkan added the bug label Oct 3, 2023
@onur-ozkan onur-ozkan self-assigned this Oct 3, 2023
@onur-ozkan onur-ozkan changed the title fix p2p ctx mocking issue fix(tests): p2p ctx mocking issue Oct 3, 2023
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thanks for the fast fix, only one minor comment.

mm2src/mm2_main/src/ordermatch_tests.rs Outdated Show resolved Hide resolved
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@shamardy shamardy merged commit 1c8a9a8 into dev Oct 3, 2023
@shamardy shamardy deleted the fix-p2p-context-mocking-problem branch October 3, 2023 18:39
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.

2 participants