Integration tests: fix on Windows

This commit is contained in:
DC
2016-09-23 04:46:56 -07:00
parent 815ba00a6b
commit 2114532f62
25 changed files with 1 additions and 1 deletions

View File

@@ -131,7 +131,7 @@ function compareIgnoringTransparency (bufActual, bufExpected) {
const rms = Math.sqrt(sumSquareDiff / (numDiff + 1))
const l2Distance = Math.round(Math.sqrt(sumSquareDiff))
console.log('screenshot diff l2 distance: ' + l2Distance + ', rms: ' + rms)
return l2Distance < 4000 && rms < 100
return l2Distance < 5000 && rms < 100
}
// Resets the test directory, containing config.json, torrents, downloads, etc