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

Integration/E2E test logging improvements #2011

Merged
merged 4 commits into from
Sep 28, 2023
Merged

Conversation

inahga
Copy link
Contributor

@inahga inahga commented Sep 27, 2023

Some improvements that came out of me debugging #1977.

  • Pass through the RUST_LOG environment variable to test containers, so we can directly control log level at the CLI. We still default to info logging level.
  • Have each test deposit logs to a folder whose name is the test name, so that logs from a run that invoked multiple tests can be differentiated.
  • Always output logs if JANUS_E2E_LOGS_PATH is set, in case we need help debugging a test that should fail, but doesn't.

- Pass through the RUST_LOG environment variable to test containers, so we can
  directly control log level at the CLI.
- Have each test deposit logs to a folder reflecting the test name, so that a
  logs from a test run that invoked multiple tests can be differentiated.
This is so that we can easily gather logs for cases that we think _should have_
failed, but didn't.
@inahga inahga requested a review from a team as a code owner September 27, 2023 16:00
@inahga inahga force-pushed the inahga/improve-logging branch from 0809b56 to 0b6b125 Compare September 27, 2023 16:27
interop_binaries/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Tim Geoghegan <[email protected]>
@inahga inahga enabled auto-merge (squash) September 28, 2023 16:38
@inahga inahga merged commit 7799370 into main Sep 28, 2023
8 checks passed
@inahga inahga deleted the inahga/improve-logging branch September 28, 2023 17:23
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