From 05a419315aa9c4f879fabbc58b508d834899815a Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Tue, 7 Sep 2021 14:57:08 -0600 Subject: [PATCH] test_l3_longevity.py : modified to be a float minus a float Signed-off-by: Chuck SmileyRekiere --- py-scripts/test_l3_longevity.py | 10 +++++----- py-scripts/tools/ct_us_001_tests.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/py-scripts/test_l3_longevity.py b/py-scripts/test_l3_longevity.py index 7cb0f6be..0d425413 100755 --- a/py-scripts/test_l3_longevity.py +++ b/py-scripts/test_l3_longevity.py @@ -800,8 +800,8 @@ class L3VariableTime(Realm): if xtop_reported: try: xtop = split_row[7] - print("xtop {xtop}".format(xtop=xtop)) - channel_utilization = 100 - float(xtop) + print("xtop 5g {xtop}".format(xtop=xtop)) + channel_utilization = float(100) - float(xtop) print("channel_utilization {utilization}".format(utilization=channel_utilization)) except: print("detected chanspec with reading chanim_stats, failed reading xtop") @@ -904,9 +904,9 @@ class L3VariableTime(Realm): if xtop_reported: try: xtop = split_row[7] - print("xtop {xtop}".format(xtop=xtop)) - channel_utilization = 100 - float(xtop) - print("channel_utilization {utilization}".format(utilization=channel_utilization)) + print("xtop 2g {xtop}".format(xtop=xtop)) + channel_utilization = float(100) - float(xtop) + print("channel_utilization 2g {utilization}".format(utilization=channel_utilization)) except: print("detected chanspec with reading chanim_stats, failed reading xtop") # should be only one channel utilization diff --git a/py-scripts/tools/ct_us_001_tests.json b/py-scripts/tools/ct_us_001_tests.json index 5176c112..479c0f18 100644 --- a/py-scripts/tools/ct_us_001_tests.json +++ b/py-scripts/tools/ct_us_001_tests.json @@ -216,7 +216,7 @@ " --max_stations_2 32 --max_stations_5 32 --max_stations_dual 100 --radio2 1.1.wiphy1", " --radio5 1.1.wiphy2 --set 'Basic Client Connectivity' 1", " --set 'Multi Band Performance' 1 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size' 0,", - " --set 'Throughput vs Pkt Size' 1 --set 'Capacity' 1 --set 'Band-Steering' 1 --set 'Skip 2.4 Ghz Tests' 1", + " --set 'Throughput vs Pkt Size' 1 --set 'Capacity' 1 --set 'Band-Steering' 0 --set 'Skip 2.4 Ghz Tests' 1", " --pull_report --local_lf_report_dir REPORT_PATH --test_tag 'ATH10K(9984)'", " --test_rig TEST_RIG", " --set DUT_SET_NAME"