From ec3a09b60f4cc44df10e0f8fe4c328f2d40b94d9 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Thu, 27 Jan 2022 17:07:58 -0800 Subject: [PATCH] LFUtils: When debug is on, clearly state all stations have appeared in success case Signed-off-by: Matthew Stidham --- py-json/LANforge/LFUtils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py-json/LANforge/LFUtils.py b/py-json/LANforge/LFUtils.py index f950f2a9..3522453a 100644 --- a/py-json/LANforge/LFUtils.py +++ b/py-json/LANforge/LFUtils.py @@ -715,6 +715,8 @@ def wait_until_ports_appear(base_url="http://localhost:8080", port_list=(), debu if debug: print('Found %s out of %s stations in %s out of %s tries in wait_until_ports_appear' % (len(found_stations), len(port_list), attempt, timeout/2)) else: + if debug: + print('All %s stations appeared' % len(found_stations)) return True if debug: