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

Bug/filter test termination #443

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Bug/filter test termination #443

merged 3 commits into from
Aug 17, 2023

Conversation

0xJepsen
Copy link
Collaborator

This PR Closes #423 by fixing our filter watcher watcher tests that were initially commented out here:
https://github.com/primitivefinance/arbiter/blob/bb4b7af1d985739751de385336f7bdfe9058610a/arbiter-core/src/tests/interaction.rs#L104-L218

They now pass and terminate with the expected behavior. This was done by manually polling the stream and matching on the poll.

@0xJepsen 0xJepsen requested a review from Autoparallel August 17, 2023 19:56
Copy link
Collaborator

@Autoparallel Autoparallel left a comment

Choose a reason for hiding this comment

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

Please help me resolve my comments!

arbiter-core/src/tests/interaction.rs Show resolved Hide resolved
arbiter-core/src/tests/interaction.rs Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #443 (d000d2c) into main (9c798a2) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #443   +/-   ##
=======================================
  Coverage   58.24%   58.24%           
=======================================
  Files          10       10           
  Lines        2996     2996           
=======================================
  Hits         1745     1745           
  Misses       1251     1251           
Files Changed Coverage Δ
arbiter-core/src/middleware.rs 84.52% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@0xJepsen 0xJepsen requested a review from Autoparallel August 17, 2023 20:12
Copy link
Collaborator

@Autoparallel Autoparallel left a comment

Choose a reason for hiding this comment

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

lgtm

@Autoparallel Autoparallel merged commit 8c0cee1 into main Aug 17, 2023
@Autoparallel Autoparallel deleted the bug/filter_test_termination branch August 28, 2023 16:40
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.

bug: filter_address() and filter_topics() tests hang forever
2 participants