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

Remove assertion with gauranteed flaky behavior #228

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

hannahhoward
Copy link
Collaborator

Goals

Fix #193

Implementation

The root problem is this test is testing something not gauranteed to happen, even when response manager behaves correctly.

Essentially, when a network send error occurs, we want to interrupt execution of a response.. However, it is still possible
the execution of the selector query is already complete, even if there are still blocks waiting to be sent over the network. In this case, there will not be any clearing of the request. That's ok.

remove checking for cleared requests in test of network errors on block send. When a network error
occurs on a block send, it will error the request and clear it out. However, it is still possible
the execution of the selector query was already complete, in which case, there will not be any
clearing of the request. That's ok.
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.

[flake] TestNetworkErrors/network_error_block_send
3 participants