mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-27 10:23:37 +00:00
Wifi 9673 (advanced testcase modification for spatial_consistency) (#630)
* Organized the testcases Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com> * Added radio config Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com> * Called cc_1 fixture in add_env_properties fixture Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com> * Added station and L3-traffic cleanup Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>
This commit is contained in:
@@ -784,7 +784,7 @@ def add_allure_environment_property(request: SubRequest) -> Optional[Callable]:
|
||||
|
||||
|
||||
@fixture(scope='session')
|
||||
def add_env_properties(get_configuration, get_sdk_version, get_apnos, fixtures_ver,
|
||||
def add_env_properties(get_configuration, get_sdk_version, get_apnos, fixtures_ver, cc_1,
|
||||
add_allure_environment_property: Callable) -> None:
|
||||
if cc_1:
|
||||
for i in range(len(get_configuration["access_point"])):
|
||||
|
||||
@@ -58,9 +58,8 @@ class TestAtfBridge(object):
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="atf_sta1_greenfieldmode_sta2_atten30dB_2g", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps", batch_size="1,2",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", sort="linear")
|
||||
|
||||
lf_test.Client_disconnect(clear_all_sta=True, clean_l3_traffic=True)
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6395", name="WIFI-6395")
|
||||
@@ -90,9 +89,8 @@ class TestAtfBridge(object):
|
||||
wct_obj = lf_test.wifi_capacity(instance_name="atf_sta1_greenfieldmode_sta2_legacymode_2g", mode=mode, vlan_id=vlan,
|
||||
download_rate="1Gbps", batch_size="1,2",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", sort="linear")
|
||||
|
||||
lf_test.Client_disconnect(clear_all_sta=True, clean_l3_traffic=True)
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6396", name="WIFI-6396")
|
||||
@@ -129,9 +127,8 @@ class TestAtfBridge(object):
|
||||
vlan_id=vlan,
|
||||
download_rate="1Gbps", batch_size="1,2",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", sort="linear")
|
||||
|
||||
lf_test.Client_disconnect(clear_all_sta=True, clean_l3_traffic=True)
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
|
||||
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-6397", name="WIFI-6397")
|
||||
@@ -162,7 +159,6 @@ class TestAtfBridge(object):
|
||||
vlan_id=vlan,
|
||||
download_rate="1Gbps", batch_size="1,2",
|
||||
upload_rate="1Gbps", protocol="UDP-IPv4", duration="60000", sort="linear")
|
||||
|
||||
lf_test.Client_disconnect(clear_all_sta=True, clean_l3_traffic=True)
|
||||
report_name = wct_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
|
||||
|
||||
lf_tools.attach_report_graphs(report_name=report_name)
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user