Skip to content

Commit

Permalink
benchmark: Enable benchmark duration adjustment
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bargull <[email protected]>
  • Loading branch information
mbargull committed Nov 15, 2020
1 parent 0587bbf commit 62d0028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/benchmark-iperf3-reverse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ function cleanup {
}
trap cleanup EXIT

iperf3 -c 127.0.0.1 -p 15201 -t 60
iperf3 -c 127.0.0.1 -p 15201 -t "${BENCHMARK_IPERF3_DURATION:-60}"
2 changes: 1 addition & 1 deletion benchmarks/benchmark-iperf3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ function cleanup {
}
trap cleanup EXIT

nsenter --preserve-credentials -U -n --target=$child iperf3 -c 10.0.2.2 -t 60
nsenter --preserve-credentials -U -n --target=$child iperf3 -c 10.0.2.2 -t "${BENCHMARK_IPERF3_DURATION:-60}"

0 comments on commit 62d0028

Please sign in to comment.