cloud-hypervisor/performance-metrics
Sebastien Boeuf 474125db12 performance-metrics: Improve reliability of virtio_net_latency_us
The test virtio_net_latency_us recently failed because of the ethr tool
couldn't complete the latency measurement with the following error
message:

    Error dialing the latency connection: dial tcp4
    :0-\u003e172.19.0.2:8888: connect: connection refused

The "connection refused" error comes from the Golang Dial function which
couldn't complete as expected because there was no server listening on
the specified port at the specified destination.

In other words, the ethr server wasn't ready when the ethr client tried
to connect to it.

The easy way to avoid this problem is simply by increasing the sleep
time between the command spawning the ethr server in the guest and the
command running the ethr client from the host.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-08-04 17:52:29 +02:00
..
src performance-metrics: Improve reliability of virtio_net_latency_us 2022-08-04 17:52:29 +02:00
build.rs performance-metrics: Log the git information from the working folder 2022-02-17 14:14:38 +00:00
Cargo.toml build: bump thiserror from 1.0.31 to 1.0.32 2022-08-04 15:27:08 +00:00