mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
test_l3_longevity.py : bug fix, updated to use ap_stat_2g from ap_stat
when reading the ap Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -492,7 +492,7 @@ class L3VariableTime(Realm):
|
||||
ss.sendline(str(self.ap_cmd_5g))
|
||||
ss.expect([pexpect.TIMEOUT], timeout=1) # do not detete line, waits for output
|
||||
ap_stats_5g = ss.before.decode('utf-8','ignore')
|
||||
print("ap_stats_5g {}".format(ap_stats_5g))
|
||||
print("ap_stats_5g from AP: {}".format(ap_stats_5g))
|
||||
|
||||
except:
|
||||
print("WARNING unable to read AP")
|
||||
@@ -508,8 +508,8 @@ class L3VariableTime(Realm):
|
||||
ss = SerialSpawn(ser)
|
||||
ss.sendline(str(self.ap_cmd_2g))
|
||||
ss.expect([pexpect.TIMEOUT], timeout=1) # do not detete line, waits for output
|
||||
ap_stats = ss.before.decode('utf-8','ignore')
|
||||
print("ap_stats_2g {}".format(ap_stats_2g))
|
||||
ap_stats_2g = ss.before.decode('utf-8','ignore')
|
||||
print("ap_stats_2g from AP: {}".format(ap_stats_2g))
|
||||
|
||||
except:
|
||||
print("WARNING unable to read AP")
|
||||
|
||||
Reference in New Issue
Block a user