Skip to content

Commit

Permalink
Return the results on error
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Sep 7, 2022
1 parent b27b789 commit cb70d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_common_test.go
Expand Up @@ -121,7 +121,7 @@ func ExecuteCommand(
return stdout.String(), nil
case <-time.After(execConfig.timeout):

return "", fmt.Errorf("command timed out after %s", execConfig.timeout)
return stderr.String(), fmt.Errorf("command timed out after %s", execConfig.timeout)
}
}

Expand Down

0 comments on commit cb70d7c

Please sign in to comment.