]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Close pyrad server sockets explicitly
authorJouni Malinen <j@w1.fi>
Sun, 4 Aug 2019 20:50:56 +0000 (23:50 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 4 Aug 2019 21:10:32 +0000 (00:10 +0300)
commit752e7a33e8d2767e541614be56a5b02cdcf25de6
treeeb1876ef3c433fee59c060b53a0e4dedaf3e39e6
parentd001fe31ab0a3e7619484c4a6a3aa5a85cd81816
tests: Close pyrad server sockets explicitly

This helps in avoiding issues with another test case trying to bind to
the same UDP port and failing due to the previous use by pyrad still
being open. This showed up with failures in radius_ipv6 when it followed
a test case like eap_proto_tls with suitable set of test cases between
them.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_eap_proto.py
tests/hwsim/test_radius.py