Browse Source

Reduces memory used during testing

Yury Delendik 11 years ago
parent
commit
31f2a24e78
  1. 6
      test/test.js

6
test/test.js

@ -419,6 +419,12 @@ function checkRefTestResults(browser, id, results) { @@ -419,6 +419,12 @@ function checkRefTestResults(browser, id, results) {
default:
throw new Error('Unknown test type');
}
// clear memory
results.forEach(function (roundResults, round) {
roundResults.forEach(function (pageResult, page) {
pageResult.snapshot = null;
});
});
}
function refTestPostHandler(req, res) {

Loading…
Cancel
Save