]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix ap_ft_r0_key_expiration test
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Thu, 21 Jan 2021 15:40:35 +0000 (17:40 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Feb 2021 10:09:30 +0000 (12:09 +0200)
commit7546a70fbbf3cca8fcdde077f2dbfcdfbdb37405
tree2c4fce2846ed703cc21f7bb5002674802bbc8a1b
parent0b7895750bf839eb0f00e28d3e5d5d19cdf0c09a
tests: Fix ap_ft_r0_key_expiration test

The test configures ft_r0_key_lifetime parameter, however ft_params
already contain the r0_key_lifetime. Since both options are accepted by
hostapd and set the same field, one of them gets overwritten.
As the dictionary enumeration order is not guaranteed in python, the
test may sporadically fail.
Fix that by explicitely removing the unneeded parameter.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
tests/hwsim/test_ap_ft.py