Add delay time before retrying when downloading the test file in wireless.py.
There's short time delay between connecting to the AP and getting the IP
address. Thus, when running this test, it is possible to fail because
all the retries happened before getting the IP address.
TODO(littlecvr): This problem should be solved by probing the IP address
of the wireless interface before any download starts to
take action. Although it is very reasonable to add some
delay before every retries.
Reviewed-by: Cheng-Yi Chiang <firstname.lastname@example.org>
Commit-Queue: Mao Huang <email@example.com>
Tested-by: Mao Huang <firstname.lastname@example.org>
1 file changed