Skip to content

Commit 2ec1fe9

Browse files
committed
Update docs for concurreny limits
1 parent 3a73fd5 commit 2ec1fe9

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎src/content/docs/reference/endform-config.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ By default the following environment variables are automatically transferred:
4646

4747
Set concurrency limits for a suite run. Each item has a `scope`, optional `label`, and `limit`.
4848

49-
Currently `"within-suite-run"` is the only supported `scope`.
49+
Two scopes are supported:
50+
- `"within-suite-run"` for limiting concurrent tests in that test suite run
51+
- `"across-all-runs"` for limiting concurrent tests across all matching test suites that your organisation is running - a shared, global limit
5052

5153
For `label`:
5254

@@ -62,11 +64,15 @@ Then set `limit` for the maximim number of allowed concurrent tests to run withi
6264
"concurrentTestLimits": [
6365
{ "scope": "within-suite-run", "limit": 20 },
6466
{ "scope": "within-suite-run", "label": "tag:@smoke", "limit": 2 }
67+
{ "scope": "across-all-runs", "label": "project:slow-backend", "limit": 10 }
6568
]
6669
}
6770
```
6871

69-
Running tests must satisfy all applicable limits. In this example, the suite run is capped at 20 total concurrently running tests, with at most 2 tagged `@smoke` running at once.
72+
Running tests must satisfy all applicable limits. In this example:
73+
74+
- Within the suite run, 20 tests can run concurrently, with at most 2 tagged `@smoke` tests running
75+
- No more than 10 tests in the `slow-backend` project can run at the same time, across all currently running test suites in your organisation
7076

7177
### `proxyNetworkHosts`
7278

0 commit comments

Comments
 (0)