Skip to content

Commit ec11609

Browse files
committed
Added section in CONTRIBUTING.md about test.utils_shared.delay
1 parent 20664ff commit ec11609

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,11 @@ If you are running one of the `no-responder` tests, omit the `run-server` step.
387387
To run any of the test suites with minimum supported dependencies, pass `--test-min-deps` to
388388
`just setup-tests`.
389389

390+
## Testing time-dependent operations
391+
392+
- `test.utils_shared.delay` - One can trigger an arbitrarily long-running operation on the server using this delay utility
393+
in combination with a `$where` operation. Use this to test behaviors around timeouts or signals.
394+
390395
## Adding a new test suite
391396

392397
- If adding new tests files that should only be run for that test suite, add a pytest marker to the file and add

0 commit comments

Comments
 (0)