[canvaskit] Increase timeout and add logging to further diagnose test flakiness
Bug: skia:8810 Change-Id: Ie1ddbd70a7521aaf7bd0e9fda7ad7a53a01db4b7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/198600 Reviewed-by: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
parent
be27245416
commit
ec841f71ee
@ -41,8 +41,8 @@ module.exports = function(config) {
|
|||||||
// enable / disable watching file and executing tests whenever any file changes
|
// enable / disable watching file and executing tests whenever any file changes
|
||||||
autoWatch: true,
|
autoWatch: true,
|
||||||
|
|
||||||
browserDisconnectTimeout: 15000,
|
browserDisconnectTimeout: 20000,
|
||||||
browserNoActivityTimeout: 15000,
|
browserNoActivityTimeout: 20000,
|
||||||
|
|
||||||
// start these browsers
|
// start these browsers
|
||||||
browsers: ['Chrome'],
|
browsers: ['Chrome'],
|
||||||
|
@ -42,8 +42,8 @@ module.exports = function(config) {
|
|||||||
// enable / disable watching file and executing tests whenever any file changes
|
// enable / disable watching file and executing tests whenever any file changes
|
||||||
autoWatch: true,
|
autoWatch: true,
|
||||||
|
|
||||||
browserDisconnectTimeout: 15000,
|
browserDisconnectTimeout: 20000,
|
||||||
browserNoActivityTimeout: 15000,
|
browserNoActivityTimeout: 20000,
|
||||||
|
|
||||||
// start these browsers
|
// start these browsers
|
||||||
browsers: ['Chrome'],
|
browsers: ['Chrome'],
|
||||||
|
@ -7,7 +7,11 @@ const LoadCanvasKit = new Promise(function(resolve, reject) {
|
|||||||
CanvasKitInit({
|
CanvasKitInit({
|
||||||
locateFile: (file) => '/canvaskit/'+file,
|
locateFile: (file) => '/canvaskit/'+file,
|
||||||
}).ready().then((loaded) => {
|
}).ready().then((loaded) => {
|
||||||
|
console.log('canvaskit loaded', new Date());
|
||||||
CanvasKit = loaded;
|
CanvasKit = loaded;
|
||||||
resolve();
|
resolve();
|
||||||
|
}).catch((e) => {
|
||||||
|
console.error('canvaskit failed to load', new Date(), e);
|
||||||
|
reject();
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user