ProcessHarness: HTTP health polling #3
Labels
No labels
area:assertions
area:cli
area:client
area:harness
area:meta
area:reporting
area:runner
type:user-story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/ws-rpc-test#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a test author, I want the harness to block until my app responds 200 on its health endpoint, so that no test runs against a half-started process and flakes from race conditions.
Acceptance criteria
ProcessHarness::start()pollshealth_urlvia reqwest GET athealth_poll_interval(default 100 ms).start()withOk(()).startup_timeoutelapses without success:TestError::Connectionwhose message contains:reqwest::Client(not one per request).Out of scope
References