diff options
Diffstat (limited to 'extras/hs-test')
-rw-r--r-- | extras/hs-test/infra/container.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/extras/hs-test/infra/container.go b/extras/hs-test/infra/container.go index d71761b2920..5093398ae56 100644 --- a/extras/hs-test/infra/container.go +++ b/extras/hs-test/infra/container.go @@ -463,7 +463,14 @@ func (c *Container) log(maxLines int) (string, error) { stdout := stdoutBuf.String() stderr := stderrBuf.String() - return stdout + " " + stderr, err + if strings.Contains(stdout, "==> /dev/null <==") { + stdout = "" + } + if strings.Contains(stderr, "tail: cannot open") { + stderr = "" + } + + return stdout + stderr, err } func (c *Container) stop() error { |