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

core: fix potential race in chainIndexerTest #22346

Merged
merged 1 commit into from
Mar 19, 2021
Merged

Conversation

s1na
Copy link
Contributor

@s1na s1na commented Feb 19, 2021

Fixes #22318

I managed to reproduce the issue by commenting out this line to make both timeouts. I think the problem is that as Peter pointed out t.Fatal is being called from a goroutine which is not the test's main routine. So I tried to stop ChainIndexer.updateLoop gracefully.

@fjl fjl merged commit c454717 into ethereum:master Mar 19, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
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.

core package tests exhibit data race
2 participants