mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: fix content tracing flake (#40939)
* chore: fix contentTracing test * cry
This commit is contained in:
@@ -73,7 +73,7 @@ ifdescribe(!(['arm', 'arm64'].includes(process.arch)) || (process.platform !== '
|
||||
// If the `categoryFilter` param above is not respected
|
||||
// the file size will be above 50KB.
|
||||
const fileSizeInKiloBytes = getFileSizeInKiloBytes(outputFilePath);
|
||||
const expectedMaximumFileSize = 10; // Depends on a platform.
|
||||
const expectedMaximumFileSize = 50; // Depends on a platform.
|
||||
|
||||
expect(fileSizeInKiloBytes).to.be.above(0,
|
||||
`the trace output file is empty, check "${outputFilePath}"`);
|
||||
|
||||
Reference in New Issue
Block a user