I added a --retry-connect option to the client, mainly for testing so not publicly documented yet. The idea is a sharness test can start the powerman daemon in the background at the top of the test and wait for it to become ready by using this option the first time the client connects to the server.
This allowed some sleeps to be removed from one of the tests that I ported over.
This moves a few tests over to sharness.
I added a
--retry-connect
option to the client, mainly for testing so not publicly documented yet. The idea is a sharness test can start the powerman daemon in the background at the top of the test and wait for it to become ready by using this option the first time the client connects to the server.This allowed some sleeps to be removed from one of the tests that I ported over.