From 7a42491a505a00366c0af227c4960695ce066116 Mon Sep 17 00:00:00 2001 From: Tobias Pfandzelter Date: Thu, 25 Apr 2024 17:06:33 +0200 Subject: [PATCH] ignore err --- test/integration/celestial_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/celestial_test.go b/test/integration/celestial_test.go index 302cb8c..20fdbb6 100644 --- a/test/integration/celestial_test.go +++ b/test/integration/celestial_test.go @@ -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)