wait_for_event

Purpose:

Wait for a specified event with an optional timeout in seconds.

Enter:

wait_for_event <event_name> [timeout]

Where:

event_name Specify the event name to wait for. 
timeout Optional. Specify the timeout in seconds. The default is 86400 (1 day).

Example:

wait_for_event myevent

The example specifies the event to wait for using the default timeout.

Notes:

Returns 0 if the event is received, 1 if the timeout expires, and -1 if an error occurs such as the event not existing.

See Also:

Test Manager User Guide