-
Notifications
You must be signed in to change notification settings - Fork 58
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
e2e: add logfile for e2e tests #1775
base: main
Are you sure you want to change the base?
Conversation
Good to link the issue, but we should start a PR with a commit message describing the change. We can describe what was done and what will be done later. This helps people to review the change. |
13a1f0c
to
f242964
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! just minor comments about comments.
3238d2a
to
5fea441
Compare
This commit introduces a dedicated log file for e2e tests: * Creates a log file (ramen-e2e.log) in the current directory by default. * Log DEBUG level messages to the file and INFO level messages to the console. * Remove caller (file:lineno) from console logs for cleaner output. * Added ramen-e2e and ramen-e2e.log to gitignore Signed-off-by: Parikshith <[email protected]>
This reverts commit 2cd063a. The original commit redirected e2e test logs to ramen-e2e.log using tee. The new logger writes to ramen-e2e.log by default Signed-off-by: Parikshith <[email protected]>
5fea441
to
895283d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, minor comment about .gitignore
e2e/ramen-e2e | ||
|
||
# e2e log | ||
e2e/ramen-e2e.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better group both, and add / to match only the files from the root of the project:
# e2e generated files
/e2e/ramen-e2e
/e2e/ramen-e2e.log
This is clear when you look at the commits, it will help to explain int the commit/pr message why we revert the previous logging hack. |
Fixes: #1722