commit | 0fc6e7cde19eedcaa2b883b2e16004d325ab3f50 | [log] [tgz] |
---|---|---|
author | Michael Pratt <mpratt@google.com> | Wed Jun 01 11:40:10 2022 -0400 |
committer | Michael Pratt <mpratt@google.com> | Wed Jun 01 16:11:15 2022 +0000 |
tree | 762ffcfd1c56a0e7d7866d9614db7d1aa68e2d02 | |
parent | 2dce598bfc8ebe958c2663252af2fd452b3fbb5f [diff] |
sweet/benchmarks/tile38: wait for command success Starting in 1.26.1 (https://github.com/tidwall/tile38/commit/9e552c362975f66c0cff398a8b703e2dabb6a599), Tile38 accepts connections before it is fully ready for data processing. All commands return an error other than OUTPUT, PING, and ECHO until the server is fully ready. We need the server to be fully ready before starting the benchmark, so add a check that a dummy command works before declaring the server ready. Our benchmark is still using 1.25.3, but this future-proofs us for when we do upgrade. For golang/go#53081. Change-Id: I0f48196d105d90f3f8440871aa481192cb515bf1 Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/409794 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Michael Pratt <mpratt@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>