Closed kim closed 3 years ago
In the process, confine setup/teardown boilerplate in a Harness struct similar to the testnet, ensuring, amongst other things, that the temporary directories outlive the runtime.
Harness
testnet
Also some error context + proper spawn_blocking where advisable.
Signed-off-by: Kim Altintop kim@eagain.st
In the process, confine setup/teardown boilerplate in a
Harness
struct similar to thetestnet
, ensuring, amongst other things, that the temporary directories outlive the runtime.Also some error context + proper spawn_blocking where advisable.
Signed-off-by: Kim Altintop kim@eagain.st