Skip to main content

Module wait

Module wait 

Source
Expand description

Helpers for waiting on conditions of test nodes.

Constants§

POLL_INTERVAL
Interval at which poll_until polls and NodeTestContext::advance_while advances the chain.
WAIT_TIMEOUT
Maximum time the wait helpers wait for a condition, e.g. for a node to sync to or commit a block.

Functions§

poll_until
Calls poll every POLL_INTERVAL until it returns a value.