Skip to main content

Crate qos_test_primitives

Crate qos_test_primitives 

Source
Expand description

Primitive types for test setup.

Structs§

ChildWrapper
Wrapper type for std::process::Child that kills the process on drop.
PathWrapper
Generic wrapper type for anything that implements std::convert::AsRef<std::path::Path> that attempts to remove a file or directory at the path on drop.

Functions§

find_free_port
Get a bind-able TCP port on the local system.
wait_until_port_is_bound
Wait until the given port is bound. Helpful for telling if something is listening on the given port.