zrepl/rpc/dataconn/timeoutconn/internal/wireevaluator/testbed
Christian Schwarz 796c5ad42d rpc rewrite: control RPCs using gRPC + separate RPC for data transfer
transport/ssh: update go-netssh to new version
    => supports CloseWrite and Deadlines
    => build: require Go 1.11 (netssh requires it)
2019-03-13 13:53:48 +01:00
..
templates rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
.gitignore rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
all.yml rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
gen_files.sh rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
internal_prepare_and_run_repeated.yml rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
internal_run_test_prepared_single.yml rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
inventory.example rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00
README.md rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00

This directory contains very hacky test automation for wireevaluator based on nested Ansible playbooks.

  • Copy inventory.example to inventory
  • Adjust inventory IP addresses as needed
  • Make sure there's an OpenSSH server running on the serve host
  • Make sure there's no firewalling whatsoever between the hosts
  • Run GENKEYS=1 ./gen_files.sh to re-generate self-signed TLS certs
  • Run the following command, adjusting the wireevaluator_repeat value to the number of times you want to repeat each test
ansible-playbook -i inventory all.yml -e `wireevaluator_repeat=3`

Generally, things are fine if the playbook doesn't show any panics from wireevaluator.