mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
fix: Increase generator test timeout (#6776)
This commit is contained in:
committed by
GitHub
parent
65834a0f01
commit
59c7cb941b
@@ -299,7 +299,7 @@ async function generators() {
|
||||
rimraf.sync(OUTPUT_DIR);
|
||||
fs.mkdirSync(OUTPUT_DIR);
|
||||
|
||||
await runGeneratorsInBrowser(OUTPUT_DIR).catch(() => {});
|
||||
await runGeneratorsInBrowser(OUTPUT_DIR);
|
||||
|
||||
const generatorSuffixes = ['js', 'py', 'dart', 'lua', 'php'];
|
||||
let failed = 0;
|
||||
|
||||
@@ -66,6 +66,10 @@ async function runGeneratorsInBrowser(outputDir) {
|
||||
|
||||
console.log('Starting webdriverio...');
|
||||
const browser = await webdriverio.remote(options);
|
||||
|
||||
// Increase the script timeouts to 2 minutes to allow the generators to finish.
|
||||
await browser.setTimeout({ 'script': 120000 })
|
||||
|
||||
console.log('Loading url: ' + url);
|
||||
await browser.url(url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user