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

Enable privileged port test #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ackintosh
Copy link
Contributor

This PR closes #11

initialize_logger() sets the logger into global variable. That is an obstacle to write tests for `execute()` because it will be panicked when initialize_logger() called twice.
@ackintosh
Copy link
Contributor Author

I've verified the tests including privileged_port test is passed. 😃

$ pwd
/Users/akihito1/src/github.com/ackintosh/whisper/cli

$ cargo test

running 4 tests
test tests::invalid_argument ... ok
test tests::invalid_ip_address ... ok
test tests::invalid_whisper_pool_size ... ok
test tests::privileged_port ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

@ackintosh
Copy link
Contributor Author

This PR is ready for review. 🙏

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.

cli: privileged_port test is ignored
1 participant