Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Fix data race in TestNetworkID test #1122

Closed
wants to merge 1 commit into from
Closed

Conversation

janos
Copy link
Member

@janos janos commented Jan 15, 2019

This PR fixes data races described in #1112 issue.

Copy link
Contributor

@frncmx frncmx left a comment

Choose a reason for hiding this comment

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

lgtm 👍

1st I was surprised we can shutdown the network, i.e., for all nodes: node.Stop() . I thought nodes would drop peers and lose their Kademila table. Then I realized the whole kademlias is populated for the test in a node service.

Smart, simple solution.

@frncmx
Copy link
Contributor

frncmx commented Jan 16, 2019

Maybe you already know :)

tip: if the commit message includes fixes: ethersphere/go-ethereum#1112 it would automatically close the issue when the commit lands on master.
Closing issues using keywords

@janos
Copy link
Member Author

janos commented Jan 16, 2019

Submitted to upstream ethereum/go-ethereum#18460.

@janos janos closed this Jan 16, 2019
@janos
Copy link
Member Author

janos commented Jan 16, 2019

Thank you all for reviews. :)

@acud acud deleted the race-test-network-id branch January 16, 2019 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants