Expand description
Test utilities for eggress.
Provides async test servers, port allocation helpers, and protocol test harnesses for fragmented and slow I/O scenarios.
Modules§
- canonical_
manifest - Canonical manifest validation for the pproxy capability manifest.
- case_
model - composition
- Composition matrix validation for the pproxy parity model.
- corpus
- Validation helpers for the pproxy URI corpus and CLI fixture files.
- differential
- Reusable differential test harness for comparing eggress with Python pproxy.
- eggress_
runner - fixtures
- manifest
- Manifest validation for pproxy feature parity tracking.
- oracle
- Scenario-driven oracle harness for comparing eggress with pproxy.
- pproxy_
oracle - report
- strict_
comparators - strict_
manifest - Strict manifest validation for the pproxy 2.7.9 behavioral compatibility manifest.
- strict_
observations
Structs§
- Fragmented
Stream - A stream wrapper that fragments all writes into small chunks.
- Slow
Reader - A wrapper that reads from an inner stream with an artificial delay.
- Slow
Writer - A wrapper that writes to an inner stream with an artificial delay.
Traits§
- Async
Stream - A trait combining AsyncRead + AsyncWrite + Send + Unpin for test streams.
Functions§
- get_
free_ port - Get a free port by binding to port 0.
- start_
echo_ server - Start an async echo server that echoes back received bytes.
- start_
half_ close_ server - Start a half-close server: reads until EOF, then sends a response and closes.
- start_
http_ origin_ server - Start a minimal HTTP origin server that responds to any request.