test: use longer timeout on contentTracing tests on WOA (#42554)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
c7219bf9e3
commit
920391a85d
1 changed files with 12 additions and 2 deletions
|
@ -25,7 +25,12 @@ ifdescribe(!(['arm', 'arm64'].includes(process.arch)) || (process.platform !== '
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('startRecording', function () {
|
describe('startRecording', function () {
|
||||||
this.timeout(5e3);
|
if (process.platform === 'win32' && process.arch === 'arm64') {
|
||||||
|
// WOA needs more time
|
||||||
|
this.timeout(10e3);
|
||||||
|
} else {
|
||||||
|
this.timeout(5e3);
|
||||||
|
}
|
||||||
|
|
||||||
const getFileSizeInKiloBytes = (filePath: string) => {
|
const getFileSizeInKiloBytes = (filePath: string) => {
|
||||||
const stats = fs.statSync(filePath);
|
const stats = fs.statSync(filePath);
|
||||||
|
@ -84,7 +89,12 @@ ifdescribe(!(['arm', 'arm64'].includes(process.arch)) || (process.platform !== '
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('stopRecording', function () {
|
describe('stopRecording', function () {
|
||||||
this.timeout(5e3);
|
if (process.platform === 'win32' && process.arch === 'arm64') {
|
||||||
|
// WOA needs more time
|
||||||
|
this.timeout(10e3);
|
||||||
|
} else {
|
||||||
|
this.timeout(5e3);
|
||||||
|
}
|
||||||
|
|
||||||
it('does not crash on empty string', async () => {
|
it('does not crash on empty string', async () => {
|
||||||
const options = {
|
const options = {
|
||||||
|
|
Loading…
Reference in a new issue