import time from threading import Event from test_independent_verification_intake import service from test_independent_verification_runner import imported from test_native_cli_netlist import graph def wait_idle(service): deadline=time.monotonic()+5 while service.busy and time.monotonic()