arti/tests/shadow
Jim Newsome cc8ced13ea shadow ci: Set stop time to 30m instead of 27m
This was a temporary stop-gap to work around a busy loop that seemed to
happen before. I am no longer able to reproduce any such problem.
2022-10-14 16:48:24 -05:00
..
conf Create a shadow-based integration test 2022-10-05 12:48:45 -05:00
shadow.data.template/hosts Create a shadow-based integration test 2022-10-05 12:48:45 -05:00
README.md Create a shadow-based integration test 2022-10-05 12:48:45 -05:00
run.sh Create a shadow-based integration test 2022-10-05 12:48:45 -05:00
shadow.yaml shadow ci: Set stop time to 30m instead of 27m 2022-10-14 16:48:24 -05:00

README.md

Shadow-based integration test

This is an integration test for arti that uses the shadow simulator. It creates a simulation of a small Tor network, uses the arti client to perform some transfers across this simulated network, and validates that the transfers succeeded.

Running locally

To run locally, you'll need to install shadow itself somewhere on our PATH, following shadow's installation instructions.

Next you'll need to install executables that will run inside the simulation, in the locations where shadow.yaml expects to find them.

  • Install tgen in ~/.local.

  • Install tor in /usr/sbin. Typically you can install it using your host system's package manager.

  • Build the arti client for target x86_64-unknown-linux-gnu, so that the binary is at: ../../target/x86_64-unknown-linux-gnu/debug/arti.

Once those are installed, you can invoke the run.sh script from this directory.