Skip to content

Commit

Permalink
fix(repo): add missing lsof package needed to kill ports
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored and vsavkin committed May 19, 2023
1 parent 3472897 commit c9cd67e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ commands:
equal: [<< parameters.os >>, linux]
steps:
- run:
command: sudo apt-get install -y ca-certificates
command: |
sudo apt-get update
sudo apt-get install -y ca-certificates lsof
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- node/install:
Expand Down
2 changes: 1 addition & 1 deletion e2e/next/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function checkApp(
`e2e ${appName}-e2e --no-watch --configuration=production --port=9000`
);
expect(e2eResults).toContain('All specs passed!');
await killPort(9000);
expect(await killPort(9000)).toBeTruthy();
}

if (opts.checkExport) {
Expand Down

0 comments on commit c9cd67e

Please sign in to comment.