Put lastModified in the email as well
This commit is contained in:
parent
15cae34503
commit
4969a88dfa
@ -16,7 +16,6 @@ var debug = require('debug')('e2e:runner'),
|
||||
debug.log = console.log.bind(console);
|
||||
|
||||
var gLastModified = null; // do not use etag since it only hashes body. touching file to rerun tests is nice
|
||||
var gLatestBoxVersion = null; // for sending mail
|
||||
var gNpmTest = null;
|
||||
|
||||
function cleanExit() {
|
||||
@ -53,10 +52,9 @@ function runTestsIfNeeded(callback) {
|
||||
return callback();
|
||||
}
|
||||
|
||||
runTests(latestETag, latestBoxVersion, function (error) {
|
||||
runTests(latestETag, latestBoxVersion, lastModified, function (error) {
|
||||
debug('Finished running tests for etag %s / lm %s: %s', latestETag, lastModified, error);
|
||||
gLastModified = lastModified;
|
||||
gLatestBoxVersion = latestBoxVersion;
|
||||
callback(error);
|
||||
});
|
||||
});
|
||||
@ -79,8 +77,8 @@ function getLatestBoxVersion(callback) {
|
||||
});
|
||||
}
|
||||
|
||||
function runTests(latestETag, latestBoxVersion, callback) {
|
||||
var topic = util.format('box version: %s etag: %s', latestBoxVersion, latestETag);
|
||||
function runTests(latestETag, latestBoxVersion, lastModified, callback) {
|
||||
var topic = util.format('box version: %s etag: %s lastModified:%s', latestBoxVersion, latestETag, lastModified);
|
||||
|
||||
debug('Running tests for %s', topic);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user