More logging

This commit is contained in:
John Firebaugh
2015-08-31 17:20:58 -07:00
parent 92f8372d0c
commit e33abc975b

View File

@@ -31,11 +31,16 @@ function renderTest(style, info, base, key) {
mkdirp.sync(dir);
return function(t) {
console.log('STARTING');
var watchdog = setTimeout(function() {
console.log('THIS IS A TIMEOUT');
t.fail('timed out after 20 seconds');
}, 20000);
t.once('end', function() {
console.log('THIS IS THE END');
clearTimeout(watchdog);
if (map) {