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

remove slow ObservedAddrManager test that doesn't test anything #1104

Merged
merged 1 commit into from May 18, 2021

Conversation

marten-seemann
Copy link
Contributor

I might be missing something here, but it looks like this test doesn't test anything (other than the fact that the code doesn't panic). Doing 10000 operations with a 1ms time.Sleep is not such a good idea, as this one test case will take at least 10s.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

It looks like this test was actually written for profiling and really shouldn't be an actual test (maybe a benchmark?). But it's not that useful regardless.

@marten-seemann marten-seemann merged commit dccb2af into master May 18, 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.

None yet

2 participants