From: Jouni Malinen Date: Mon, 7 Jan 2019 21:37:15 +0000 (+0200) Subject: tests: Remove MIB counter check from radius_auth_unreachable2 X-Git-Tag: hostap_2_8~547 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e6721e87b66a3c0dd8c53546666993a72487c7;p=thirdparty%2Fhostap.git tests: Remove MIB counter check from radius_auth_unreachable2 This is in preparation for an implementation change that results in this unreachable server case not incrementing radiusAuthClientAccessRequests. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_radius.py b/tests/hwsim/test_radius.py index 046579e4d..04d4e14e3 100644 --- a/tests/hwsim/test_radius.py +++ b/tests/hwsim/test_radius.py @@ -65,8 +65,7 @@ def test_radius_auth_unreachable2(dev, apdev): mib = hapd.get_mib() if "radiusAuthClientAccessRequests" not in mib: raise Exception("Missing MIB fields") - if int(mib["radiusAuthClientAccessRetransmissions"]) < 1: - raise Exception("Missing RADIUS Authentication retransmission") + logger.info("radiusAuthClientAccessRetransmissions: " + mib["radiusAuthClientAccessRetransmissions"]) def test_radius_auth_unreachable3(dev, apdev): """RADIUS Authentication server initially unreachable, but then available"""