Skip to content

Commit

Permalink
testers: iperf3: fix usage of duration and interval (#56)
Browse files Browse the repository at this point in the history
testers: iperf3: fix usage of duration and interval
  • Loading branch information
galexrt authored Nov 7, 2019
2 parents acd89a0 + 7691651 commit 853f800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testers/iperf3/iperf3.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ func (ip IPerf3) buildIPerf3ClientCommand(server *testers.Host, client *testers.
// Base command and args
cmd := "iperf3"
args := []string{
fmt.Sprintf("--time=%d", ip.config.Duration),
fmt.Sprintf("--interval=%d", ip.config.Interval),
fmt.Sprintf("--time=%d", *ip.config.Duration),
fmt.Sprintf("--interval=%d", *ip.config.Interval),
"--json",
"--port={{ .ServerPort }}",
"--client={{ .ServerAddressV4 }}",
Expand Down

0 comments on commit 853f800

Please sign in to comment.