From 08e6721e87b66a3c0dd8c53546666993a72487c7 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 7 Jan 2019 23:37:15 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_radius.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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""" -- 2.47.2