diff --git a/lib/base/check.js b/lib/base/check.js index e6a8f4d039..19b1b4fe82 100644 --- a/lib/base/check.js +++ b/lib/base/check.js @@ -103,7 +103,9 @@ Check.prototype.run = function (node, options, callback) { if (!checkHelper.isAsync) { checkResult.result = result; - callback(checkResult); + setTimeout(function () { + callback(checkResult); + }, 0); } } else { callback(null); diff --git a/lib/run.js b/lib/run.js index 42dac6c960..f5f27a034c 100644 --- a/lib/run.js +++ b/lib/run.js @@ -96,7 +96,10 @@ function collectResultsFromFrames(context, options, callback) { q.defer(function (done) { var timeout = setTimeout(function () { - done({}); + timeout = setTimeout(function () { + dqre.log('No response from frame: ', node); + done({}); + }, 0); }, 500); utils.respondable(win, 'dqre.analysis.ping', null, function () {