Skip to content

Commit

Permalink
ignore err
Browse files Browse the repository at this point in the history
  • Loading branch information
pfandzelter committed Apr 30, 2024
1 parent b6a92a9 commit 7a42491
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/celestial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ func testModifyBandwidth(t *testing.T, A int, B int, bandwidth int) {
// ssh root@[ip1] iperf3 -c [ip2] -f k -u -b [bandwidth]k
cSource := exec.Command("ssh", "-i", key, "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "root@"+vms[A].ip.String(), "iperf3", "-c", vms[B].ip.String(), "-f", "k", "-u", "-b", fmt.Sprintf("%dk", bandwidth))

go cTarget.CombinedOutput()
go func() {
_, _ = cTarget.CombinedOutput()
}()

time.Sleep(2 * time.Second)

Expand Down

0 comments on commit 7a42491

Please sign in to comment.