[PATCH 2/9] tests: Remote hwsim tests skip broadcast connectivity test
Johannes Berg
johannes at sipsolutions.net
Mon May 23 23:56:42 PDT 2016
On Mon, 2016-05-23 at 18:19 +0300, Jouni Malinen wrote:
> Please also note that there are couple of cases where
> hwsim_utils.test_connectivity() is used for negative testing, i.e.,
> there is not supposed to be connectivity and the test case fails if
> that
> function does not raise an exception. Doing 10 retries there should
> work, but it will add some latency. That said, I think it is
> justifiable
> to do that for the non-hwsim case without more complexity since there
> are only couple of such negative testing cases. Though, I'd be fine
> with
> adding a parameter to the function to indicate if it is used for the
> negative case so that the retries could be avoided.
In the OTA case, this might actually want to do 10 tries to not have
spurious successes when the frame is lost?
johannes
More information about the Hostap
mailing list