- while TestRecord[input_data['Id']]['Output'] == {} \
- or 'StatusMessage' in TestRecord[input_data['Id']]['Result']:
- time.sleep(5)
+ # while TestRecord[input_data['Id']]['Output'] == {} \
+ # or 'StatusMessage' in TestRecord[input_data['Id']]['Result']:
+ while ActiveProcess[input_data['Id']].is_alive():
+ time.sleep(3)