chaos / powerman

cluster power control
GNU General Public License v2.0
43 stars 19 forks source link

convert several tests to use the sharness framework #102

Closed garlick closed 9 months ago

garlick commented 9 months ago

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.

garlick commented 9 months ago

Fixed those things and forced a push.