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

Add internal ip cli flag #155

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Conversation

njgheorghita
Copy link
Collaborator

@njgheorghita njgheorghita commented Oct 25, 2021

Add --internal-ip cli flag to skip requesting external ip address from stun server. This allows the testharness to communicate properly with a locally running target node.

I also spent some time trying to clean up the testing structure in the test harness, by catching the panics instead of actually panicking. But, the async nature of the tests made it sufficiently tricky that I'm dropping it for now. https://stackoverflow.com/questions/63159442/how-do-i-use-paniccatch-unwind-with-asynchronous-code

Fixes #147

Copy link
Member

@ogenev ogenev left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@njgheorghita njgheorghita merged commit 77acdb0 into ethereum:master Oct 27, 2021
@njgheorghita njgheorghita deleted the testharness branch October 27, 2021 14:09
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.

Overlay network pings from test harness are not pinging
2 participants