Skip to content

Commit

Permalink
macOS pcaps can sometimes take forever
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Jan 18, 2024
1 parent 875db1d commit c761998
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/zui-player/helpers/test-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default class TestApp {
}

async attached(role: Role | RegExp, name?: string, timeout?: number) {
return this.locate(role, name).waitFor({ timeout: 60000 });
return this.locate(role, name).waitFor({ timeout: 300000 });
}

async detached(role: Role | RegExp, name?: string) {
Expand Down
4 changes: 2 additions & 2 deletions packages/zui-player/tests/packets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getPath } from 'zui-test-data';

play('packets.spec', (app, test) => {
test('dropping a pcap does not pop up preview and load', async () => {
test.setTimeout(60000);
test.setTimeout(300000);
await app.dropFile(getPath('sample.pcap'));
const startTime = new Date().getTime();
await app.attached(/Successfully loaded into sample.pcap/);
Expand All @@ -21,7 +21,7 @@ play('packets.spec', (app, test) => {
});

//test('loading a bad pcap displays an error message', async () => {
// test.setTimeout(60000);
// test.setTimeout(300000);
// await app.dropFile(getPath('bad.pcapng'));
// await app.attached(/Unable to generate full summary logs from PCAP/);
//});
Expand Down

0 comments on commit c761998

Please sign in to comment.