[PATCH v2 3/3] tests: Test no P2P GO move when invitation is in progress
j at w1.fi
Sun Nov 22 13:13:10 PST 2015
On Sun, Nov 22, 2015 at 03:57:52PM +0200, Ilan Peer wrote:
> Add a test to verify that a P2P GO does not start a CSA
> once invitation signalling is done, and the P2P client is
> about to connect.
Thanks, all three applied.
> diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py
> @@ -918,3 +918,76 @@ def test_p2p_go_move_scm_multi(dev, apdev, params):
> +def test_p2p_delay_go_csa(dev, apdev, params):
> + """P2P GO CSA delayed when inviting a P2P Device to an active P2P Group [long]"""
> + # Skip the initial client connection timeout after a P2P GO is setup
> + time.sleep(15)
This can be avoided by using another client to clear the initial wait. I
changed that and optimized other steps to make the test case pass much
more quickly so that the --long dependency can be removed.
Jouni Malinen PGP id EFC895FA
More information about the Hostap