Skip to content

Commit

Permalink
Debug nightly tests
Browse files Browse the repository at this point in the history
fixes webrtc#1692 (maybe...)
  • Loading branch information
fippo committed Jan 3, 2025
1 parent c23f961 commit 993464b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/download-browsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ const {buildDriver} = require('./webdriver');
// Download the browser(s).
async function download() {
if (process.env.BROWSER_A && process.env.BROWSER_B) {
(await buildDriver(process.env.BROWSER_A)).quit();
(await buildDriver(process.env.BROWSER_B)).quit();
console.log('Downloading', process.env.BROWSER_A, process.env.BROWSER_B);
const drivers = await Promise.all([
buildDriver(process.env.BROWSER_A),
buildDriver(process.env.BROWSER_B),
]
drivers.forEach(async driver => await driver.quit());
} else {
(await buildDriver()).quit();
}
Expand Down

0 comments on commit 993464b

Please sign in to comment.