Skip to content

Skip unit test TestFirstListenerSetupGetsPort8080WhenPassedPortZero #73

Merged
zeldovich merged 4 commits intoalgorand:masterfrom
tsachiherman:tsachi/skip8080test
Jun 21, 2019
Merged

Skip unit test TestFirstListenerSetupGetsPort8080WhenPassedPortZero #73
zeldovich merged 4 commits intoalgorand:masterfrom
tsachiherman:tsachi/skip8080test

Conversation

@tsachiherman
Copy link
Copy Markdown
Contributor

Summary

Modify the unit test TestFirstListenerSetupGetsPort8080WhenPassedPortZero so that it won't fail when running on a developer machine that already has the algod process running.

Test Plan

Local execution passed with port 8080 preoccupied. Travis run pass as expected.

@tsachiherman tsachiherman requested a review from Karmastic June 21, 2019 15:02
Comment thread daemon/algod/server_test.go Outdated
// (ex if a dev has a node running on port 8080 and runs the test, it will fail)
defaultAddr := "127.0.0.1:0"
expectedAddr := "127.0.0.1:8080"
// (execpt if a dev has a node running on port 8080 and runs the test; in that case, we can't run this test.)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo: except

@zeldovich zeldovich merged commit f41aa9b into algorand:master Jun 21, 2019
@tsachiherman tsachiherman deleted the tsachi/skip8080test branch June 21, 2019 17:15
pzbitskiy pushed a commit to pzbitskiy/go-algorand that referenced this pull request May 11, 2020
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.

3 participants