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

Disable logging in tests for CI only #549

Merged
merged 1 commit into from
Aug 14, 2019
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Aug 14, 2019

Motivation:

It's often useful to have logging output when running tests, however,
Travis will fail the job if we log too much.

Modifications:

Enable logging in tests only of the "CI" environment variable does not
equal "true".

Result:

Logging can be disabled by the environment.

Motivation:

It's often useful to have logging output when running tests, however,
Travis will fail the job if we log too much.

Modifications:

Enable logging in tests only of the "CI" environment variable does not
equal "true".

Result:

Logging can be disabled by the environment.
@MrMage MrMage merged commit b91c2b1 into grpc:nio Aug 14, 2019
@glbrntt glbrntt deleted the test-logging branch August 5, 2020 09:06
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.

2 participants