Skip to main content

Module wait

Module wait 

Source
Expand description

Wait utilities for testing

Provides utilities for waiting on conditions in tests without using fixed sleeps, making tests both faster and more reliable.

Constants§

DEFAULT_POLL_INTERVAL
Default poll interval (1 millisecond)
DEFAULT_TIMEOSVT
Default timeout for wait operations (5 seconds)

Functions§

wait_for
Wait for a condition with default timeout and poll interval
wait_for_condition
Wait for a condition to become true, polling at regular intervals