netstack_testing_common

Constant ASYNC_EVENT_NEGATIVE_CHECK_TIMEOUT

Source
pub const ASYNC_EVENT_NEGATIVE_CHECK_TIMEOUT: MonotonicDuration;
Expand description

Extra time to use when waiting for an async event to not occur.

Since a negative check is used to make sure an event did not happen, its okay to use a smaller timeout compared to the positive case since execution stall in regards to the monotonic clock will not affect the expected outcome.