The test was taking 30 seconds due to _find_routable_addr() entering a retry loop even when no IPs were collected from unreachable API URLs. The code would loop 3 times with 10 second sleeps between attempts despite having nothing to check. Add an early return when the ips set is empty to avoid unnecessary retries. Change-Id: I21892e0ea7351cabab740a86fc82ff7d087d4cb8 Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
26 KiB
26 KiB