Skip to content

Commit 7a42491

Browse files
committed
ignore err
1 parent b6a92a9 commit 7a42491

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/celestial_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,9 @@ func testModifyBandwidth(t *testing.T, A int, B int, bandwidth int) {
506506
// ssh root@[ip1] iperf3 -c [ip2] -f k -u -b [bandwidth]k
507507
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))
508508

509-
go cTarget.CombinedOutput()
509+
go func() {
510+
_, _ = cTarget.CombinedOutput()
511+
}()
510512

511513
time.Sleep(2 * time.Second)
512514

0 commit comments

Comments
 (0)