diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-07-27 10:00:17 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-27 10:01:45 -0700 |
commit | 29e5609b228363bcc435a8828f9b6ee19018a525 (patch) | |
tree | 162f58ec666b25bffe212f85754ff443c70ace63 /test/benchmarks/harness/util.go | |
parent | cf7141fb43d9b6757c6838baa71e2edfee339d44 (diff) |
Port redis benchmark
PiperOrigin-RevId: 323381964
Diffstat (limited to 'test/benchmarks/harness/util.go')
-rw-r--r-- | test/benchmarks/harness/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmarks/harness/util.go b/test/benchmarks/harness/util.go index 7f8e42201..eda2eeffb 100644 --- a/test/benchmarks/harness/util.go +++ b/test/benchmarks/harness/util.go @@ -30,7 +30,7 @@ func WaitUntilServing(ctx context.Context, machine Machine, server net.IP, port netcat := machine.GetNativeContainer(ctx, logger) defer netcat.CleanUp(ctx) - cmd := fmt.Sprintf("while ! nc -zv %s %d; do true; done", server.String(), port) + cmd := fmt.Sprintf("while ! nc -zv %s %d; do true; done", server, port) _, err := netcat.Run(ctx, dockerutil.RunOpts{ Image: "packetdrill", }, "sh", "-c", cmd) |