summaryrefslogtreecommitdiff
path: root/crates/arti-testing
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump every crate's edition to 2021.Nick Mathewson2022-04-251-1/+1
| | | | | | | | | | This is an automated change made with a perl one-liner and verified with grep -L and grep -l. Some warnings are introduced with this change; they will be removed in subsequent commits. See arti#208 for older discussion on this issue.
* Add 'rust-version = "1.56"' to every Cargo.toml file.Nick Mathewson2022-04-251-0/+1
| | | | | | | This change was made automatically with a perl one-liner, and confirmed with `grep -L`. The `rust-version` field itself was introduced in 1.56.0.
* Reformat all not-yet-reformatted Cargo.toml files.Nick Mathewson2022-04-251-4/+4
| | | | | There are no semantic changes here; only formatting. This is in preparation for other changes (wrt MSRV and edition)
* Downgrade `rlimit` to 0.7.Nick Mathewson2022-04-061-1/+1
| | | | | | | | | | Upstream 0.8.2 has broken compilation with Rust 1.53; versions 0.8.{0,1} have been yanked. Possibly by the time the next arti version comes out, they'll have fixed this situation, or we'll have upgraded our MSRV. Upstream issue at https://github.com/Nugine/rlimit/issues/42 .
* Bump all arti*, tor* crates to 0.2.0Nick Mathewson2022-04-011-9/+9
| | | | | | | | Not all of these strictly need to be bumped to 0.2.0; many could go to 0.1.1 instead. But since everything at the tor-rtcompat and higher layers has had breaking API changes, it seems not so useful to distinguish. (It seems unlikely that anybody at this stage is depending on e.g. tor-protover but not arti-client.)
* Merge branch 'upgrade_pre_020' into 'main'Nick Mathewson2022-04-011-1/+1
|\ | | | | | | | | Run cargo upgrade/update in preparation for 0.2.0 See merge request tpo/core/arti!444
| * Upgrade rlimit -> 0.8.0Nick Mathewson2022-04-011-1/+1
| |
* | Directory filtering in arti-testing.Nick Mathewson2022-03-314-1/+225
|/ | | | | | | | | This feature allows us to detect different failing cases for arti#329 that would otherwise be hard to induce. It works by filtering consensus directory objects and/or microdescriptor objects before introducing them to the directory manager. Closes #397.
* README.md for arti-testing.Nick Mathewson2022-03-301-0/+53
|
* Move ArtiConfig to new arti::cfg moduleIan Jackson2022-03-212-1/+2
| | | | Code motion and import fixups.
* add udp to runtimetrinity-1686a2022-03-141-0/+1
|
* 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: todo comment cleanupNick Mathewson2022-03-071-8/+1
|
* arti-testing: support for conditional TCP failure.Nick Mathewson2022-03-073-9/+89
|
* arti-testing: add support for black-holing TCP connections.Nick Mathewson2022-03-073-7/+112
|
* arti-testing: CLI for making TCP connections break.Nick Mathewson2022-03-073-9/+146
|
* arti-testing: Initial support for broken TCP.Nick Mathewson2022-03-074-7/+98
| | | | | | 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.
* fix reproducible build summary giving invalid branch and commit idtrinity-1686a2022-03-041-1/+1
| | | | | fix #378 also fix unrelated error in nightly rustdoc CI
* Allow println in arti-testing.Nick Mathewson2022-03-031-0/+2
|
* arti-testing: Initial implementationNick Mathewson2022-03-036-0/+691
This commit adds a new program to try to implement the ideas behind experimentation in arti#329. In particular, it tries to implement basic client "can I bootstrap and connect" functionality testing, with a lot of instrumentation, and support for breaking things. So far, the instrumentation is limited to counting TCP bytes and connections, and counting events. Still, this is enough to measure behavior on some of the incorrect-clock tests. NOTE: For now, you are _required_ to pass in an explicit configuration, in hopes that this will lead you to override your storage directories for doing specific experiments.