CI: test_scan_display wait_for_scan_data_listener_started timeout
https://gitlab.esrf.fr/bliss/bliss/-/jobs/932529
@pytest.fixture()
def scan_data_listener_process_without_filter(session):
"""Fixture to check the output displayed by the ScanDataListener for
the different standard scans"""
with disable_scan_display_filter():
with scan_data_listener_process() as p:
...
bliss.common.greenlet_utils.killmask.BlissTimeout: 5 seconds
The 5 seconds is hard coded
def wait_for_scan_data_listener_started(popipe):
# WAIT FOR THE FIRST LINE (>>>>> Watching scans from Bliss session: 'test_session' <<<<)
with gevent.Timeout(5):
startline = "\n"
while startline == "\n":
startline = popipe.stdout.readline()
assert (
"Watching scans from Bliss session" in startline
) # NOW LISTENER IS STARTED AND READY