test: fixup flaky tests (#44349)
* test: fixup flaky test * test: disable flaky protocol speed test on macOS * test: fixup flaky test in api-browser-window-spec.ts
This commit is contained in:
parent
fd500477ac
commit
c42fb09fc9
3 changed files with 14 additions and 9 deletions
|
@ -1737,7 +1737,8 @@ describe('protocol module', () => {
|
|||
});
|
||||
|
||||
// TODO(nornagon): this test doesn't pass on Linux currently, investigate.
|
||||
ifit(process.platform !== 'linux')('is fast', async () => {
|
||||
// test is also flaky on CI on macOS so it is currently disabled there as well.
|
||||
ifit(process.platform !== 'linux' && (!process.env.CI || process.platform !== 'darwin'))('is fast', async () => {
|
||||
// 128 MB of spaces.
|
||||
const chunk = new Uint8Array(128 * 1024 * 1024);
|
||||
chunk.fill(' '.charCodeAt(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue