do not send stderr in email
This commit is contained in:
parent
e473606727
commit
d45ffad94f
@ -86,7 +86,8 @@ function runTests(latestVersionInfo, callback) {
|
||||
|
||||
var topic = util.format('E2E Test %s for box version: %s', error ? 'failed': 'passed', latestVersionInfo.version);
|
||||
|
||||
mailer.sendEndToEndTestResult(topic, JSON.stringify(latestVersionInfo, null, 4), stdout ? stdout.toString('utf8') : '', stderr ? stderr.toString('utf8') : '', function () { });
|
||||
// do not send stderr in mail since it contains the tail log stream
|
||||
mailer.sendEndToEndTestResult(topic, JSON.stringify(latestVersionInfo, null, 4), stdout ? stdout.toString('utf8') : '', '', function () { });
|
||||
return callback(error);
|
||||
});
|
||||
}
|
||||
|
@ -28,8 +28,8 @@ sleep 20 # wait for the other tests to have created the cloudron
|
||||
test_pids+=("$!")
|
||||
test_logs+=("logs/cloudron-update-test.log")
|
||||
|
||||
# stream all the logs
|
||||
tail -f ${test_logs[*]} &
|
||||
# stream all the logs (to stderr so that it's not in email but in deploy logs)
|
||||
tail -f ${test_logs[*]} >&2 &
|
||||
|
||||
# wait for tests to finish
|
||||
fail=0
|
||||
|
Loading…
Reference in New Issue
Block a user