summaryrefslogtreecommitdiff
path: root/crates/arti-testing/src/rt/badtcp.rs
Commit message (Collapse)AuthorAgeFilesLines
* rng ranges: Use gen_range_infallible() for Duration::ZERO..=TIan Jackson2023-07-101-2/+3
|
* rng ranges: Use inclusive Duration ranges in several placesIan Jackson2023-07-071-1/+1
| | | | | | | | | | | | | | Many of these call sites would panic if, somehow, the upper bound was zero. In most cases it is very complicated to see if whether this could happen. However, there is a better answer: Durations are (conceptually) dense, so picking the closed set (which includes its boundary) rather than the open one (which doesn't) will make little practical difference. So change four call sites to use `..=` instead of just `..`.
* arti-testing: Make Action implement CopyNick Mathewson2022-03-101-2/+2
|
* arti-testing: reverse two more attrs in attempt to fix min-versionsNick Mathewson2022-03-071-1/+1
|
* arti-testing: reverse two attrs in attempt to fix min-versionsNick Mathewson2022-03-071-1/+1
|
* arti-testing: support for conditional TCP failure.Nick Mathewson2022-03-071-5/+70
|
* arti-testing: add support for black-holing TCP connections.Nick Mathewson2022-03-071-5/+110
|
* arti-testing: CLI for making TCP connections break.Nick Mathewson2022-03-071-5/+28
|
* arti-testing: Initial support for broken TCP.Nick Mathewson2022-03-071-0/+66
This commit adds support for a BrokenTcp provider that can make connection attempts fail or time out. It doesn't yet have a way to turn on the failure.