Skip to content

tests: Initialize env_logger in TestApp::init() #3130

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

Merged
merged 3 commits into from
Dec 28, 2020

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 27, 2020

This allows us to use e.g. debug!() in test utilities and run cargo test with RUST_LOG=debug.

This PR also adds debug!() calls to our HTTP proxy replay code, to make it easier to see what requests have been intercepted by the proxy.

r? @pietroalbini

@pietroalbini
Copy link
Member

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Dec 28, 2020

📌 Commit a4658bc has been approved by pietroalbini

@bors
Copy link
Contributor

bors commented Dec 28, 2020

⌛ Testing commit a4658bc with merge c06f929...

@bors
Copy link
Contributor

bors commented Dec 28, 2020

☀️ Test successful - checks-actions
Approved by: pietroalbini
Pushing c06f929 to master...

@bors bors merged commit c06f929 into rust-lang:master Dec 28, 2020
@Turbo87 Turbo87 deleted the test-logging branch December 28, 2020 09:55
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.

4 participants