Skip to content

Commit 50ee1b5

Browse files
committed
document local-http test behavior under restricted environments
1 parent 341352d commit 50ee1b5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ cargo fmt -- --check
140140
cargo clippy --all-targets --all-features -- -D warnings
141141
```
142142

143+
Notes:
144+
- `cargo test --all-features` includes the optional local HTTP integration test.
145+
- `crawler_runs_end_to_end_with_local_http_server` is resilient to restricted hosts: it attempts to start a local mock listener and gracefully skips execution if the environment forbids binding loopback sockets (common in hardened CI sandboxes).
146+
143147
## Benchmarking and fuzz checks
144148

145149
```bash
@@ -196,3 +200,5 @@ cargo clippy --manifest-path Cargo.toml --all-targets --all-features -- -D warni
196200
cargo check --manifest-path Cargo.toml --all-targets --all-features
197201
cargo test --manifest-path Cargo.toml --all-targets --all-features
198202
```
203+
204+
CI also runs the full workspace test suite with `--all-features`, including `local-http-tests`, so the integration test behaves as described above in a real network-capable environment.

0 commit comments

Comments
 (0)