-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: add
Client::wait_until_healthy
method (#855)
Adds a method which repeatedly polls the `/health` endpoint until it returns a successful response or a specified timeout elapses. This is useful when writing tests that need to wait for a node to boot up (e.g. inside of a docker container).
- Loading branch information
1 parent
d716d81
commit 2cdab92
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters