tests: Handle different delays in discovery_and_interface_disabled
authorIlan Peer <ilan.peer@intel.com>
Mon, 29 Feb 2016 12:30:02 +0000 (14:30 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 3 Mar 2016 15:10:26 +0000 (17:10 +0200)
commitd4b521a38b6cff8dd9d904061861d2f2b2ccfa02
tree44dffe56cca917071cce70bdfead69770680bb1f
parent1446afc86579a3340fde2e6c827f804037183e82
tests: Handle different delays in discovery_and_interface_disabled

Test different delay intervals between the INTERFACE_DISABLED event
and the INTERFACE_ENABLED event for discovery_and_interface_disabled.

Previously, only a delay of 1 second was used, in which case the
scan results for the P2P_FIND operation were received after the
interface was enabled again, and the case the scan results were
received while the interface was disabled was not covered.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
tests/hwsim/test_p2p_discovery.py