mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 19:37:54 +00:00
print status when waiting for reservation
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
This commit is contained in:
@@ -21,6 +21,8 @@ def __wait_for_status(session, res_id, field, target_status):
|
||||
if status == target_status:
|
||||
break
|
||||
|
||||
print(f'current reservation status: {status}')
|
||||
|
||||
if timer >= TIMEOUT:
|
||||
raise RuntimeError(f'waiting for reservation to reach status {target_status} timed out')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user