Skip to content

Commit

Permalink
docs: fix restrict cpu example (cypress-io#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Jun 4, 2024
1 parent d1b98c0 commit 3f081b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions included/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ docker run --rm # remove container after finish

## Restrict CPU

If you want to simulate slow container, run the Docker container with `--cpus` parameter, for example, let's debug the browser detection problems when the CPU is (very) slow:
If you want to simulate a slow container, run the Docker container with the `--cpus` parameter, for example, let's debug possible browser detection problems when the CPU is slow:

```shell
docker run -it -v .:/e2e -w /e2e --cpus=0.02 -e DEBUG=cypress:launcher --entrypoint=cypress cypress/included:13.10.0 info
docker run -it --cpus=0.2 -e DEBUG=cypress:launcher:* --entrypoint=cypress cypress/included:13.10.0 info
```

## Alternate users
Expand Down

0 comments on commit 3f081b2

Please sign in to comment.