-
Notifications
You must be signed in to change notification settings - Fork 90
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
Clean up test logs #190
Clean up test logs #190
Conversation
@@ -223,7 +223,7 @@ func run(node string, command ...string) (string, error) { | |||
cmd.Stderr = &stderr | |||
cmd.Stdout = &stdout | |||
err := cmd.Run() | |||
GinkgoWriter.Write([]byte(stdout.String() + stderr.String() + "\n")) | |||
GinkgoWriter.Write([]byte(fmt.Sprintf("stdout: %.500s...\n, stderr %s\n", stdout.String(), stderr.String()))) |
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.
do you think it would be worth setting this via an environment variable?
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.
Let's do like this, in case of error vlans are show in full so we are good, another option is to dump to files the full output and print the truncated ones.
e084128
to
9845aab
Compare
|
9845aab
to
5e8974f
Compare
@phoracek fixed, ReplaceAll is not at golang 1.11 |
UPSTREAM: <carry>: Add manifests to .PHONY in Makefile
No description provided.