<s>[INST] ask the monitor to wait until the execution is finished . concode_field_sep IExecutionMonitor monitor concode_elem_sep String DEFAULT_THREAD_NAME concode_field_sep void runFinishing concode_elem_sep IExecutionMonitor getMonitor concode_elem_sep String getTestThreadName concode_elem_sep void exceptionCaught concode_elem_sep TestIdentifier getCurrentTest concode_elem_sep void runStarting concode_elem_sep void exec concode_elem_sep void runFinished [/INST] void function ( ) { getMonitor ( ) . waitUntilFinished ( ) ; </s>