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

test: demonstrate race condition #219

Closed

Conversation

tchardin
Copy link
Contributor

@tchardin tchardin commented Jun 8, 2021

This updates my previous test to demonstrate the race condition. I add a tracker interface to track channels that have been accepted based on the Accept event. The revalidator also has access to this tracker to find channels it is currently tracking. When running this test, one can see that OnPullDataSent is triggered before the tracker was able to add the channel.
cc @dirkmc

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.

1 participant