mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 04:18:15 +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:
|
if status == target_status:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
print(f'current reservation status: {status}')
|
||||||
|
|
||||||
if timer >= TIMEOUT:
|
if timer >= TIMEOUT:
|
||||||
raise RuntimeError(f'waiting for reservation to reach status {target_status} timed out')
|
raise RuntimeError(f'waiting for reservation to reach status {target_status} timed out')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user