You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/10/30 18:39:20 UTC
[incubator-echarts] 02/02: test(visual): decrease the pass
threshold of image diff.
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch fix-11112
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit b64bb3b7ac0894b8f4d8394e9488f4a4039857b4
Author: pissang <bm...@gmail.com>
AuthorDate: Thu Oct 31 02:38:31 2019 +0800
test(visual): decrease the pass threshold of image diff.
---
test/runTest/client/client.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/runTest/client/client.js b/test/runTest/client/client.js
index d574574..053e73f 100644
--- a/test/runTest/client/client.js
+++ b/test/runTest/client/client.js
@@ -26,7 +26,7 @@ function processTestsData(tests, oldTestsData) {
test.index = idx;
test.results.forEach(result => {
// Threshold?
- if (result.diffRatio < 0.001) {
+ if (result.diffRatio < 0.0001) {
passed++;
}
let timestamp = test.lastRun || 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org