aboutsummaryrefslogtreecommitdiff
path: root/tests/chutney/network.py
Commit message (Collapse)AuthorAgeFilesLines
* chutney test network: add 4 suitable middle/guard/vg relaysJim Newsome2026-06-151-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | With the chutney bump in the previous commit alone, we hit arti#2463 consistently. According to the spec, a hidden service using vanguards-lite needs 2 guards and 4 vanguards <https://spec.torproject.org/vanguards-spec/index.html>. All 6 of those relays need to be Fast and Stable. At least the 2 guards also need to be Measured. (Probably the 4 vanguards too, but I haven't verified). authority relays are never considered Measured. Prior to the chutney bump, none of the relays were, but since chutney!142, we create a bandwidth file to ensure the non-authorities *are* Measured, and will get the Fast flag. (IIUC, tor doesn't apply the bandwidth measurements to authorities). Maybe the presence of *some* measured relays gets us out of some fallback path that was getting used before to allow unmeasured relays? Adding the additional relays seems to fix the issue.
* chutney CI: add hidden servicesJim Newsome2026-04-021-0/+19
|
* chutney test: include arti-extra binJim Newsome2026-03-111-18/+34
| | | | | Test the arti-extra bin, which includes most of `full` and `experimental` features, too.
* network.py: break up construction of configs listJim Newsome2026-03-111-47/+46
|
* chutney ci: convert chutney-script to a normal python moduleJim Newsome2026-03-111-0/+71
This will give us a bit more flexibility, e.g. to pass additional arguments. Now that the python linters understand it, we fix some linting issues. We preserve the ability to run the test on other networks by making the Config.network optional. The new default of `None` means to use the built-in module to create the network. The functionality of the test itself is the same.