Commit d3660aa8659138307baaa33acd6e1c3c3251195f

Authored by Antonio Terceiro
1 parent 0aa603de

test_helper: call ssh directly

Calling `ssh` directly instead of `vagrant ssh` brings the total run
time of the test suite from ~42s down to ~9s on my workstation.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/test_helper.sh
@@ -3,7 +3,7 @@ export PATH="$(dirname $0)/bin:$PATH" @@ -3,7 +3,7 @@ export PATH="$(dirname $0)/bin:$PATH"
3 run_on() { 3 run_on() {
4 local vm="$1" 4 local vm="$1"
5 shift 5 shift
6 - vagrant ssh "$vm" -- "$@" 6 + ssh -F .ssh_config "$vm" -- "$@"
7 } 7 }
8 8
9 # waits until a file exists 9 # waits until a file exists