From 532bbbbfa89612776d424c004107cfa04eaec636 Mon Sep 17 00:00:00 2001 From: karthikaeyetea Date: Mon, 29 Aug 2022 11:10:25 +0530 Subject: [PATCH] upload traffic rate zero Signed-off-by: karthikaeyetea --- .../wpa2_personal/test_bridge_air_time_fairness.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/advanced/air_time_fairness_test/wpa2_personal/test_bridge_air_time_fairness.py b/tests/e2e/advanced/air_time_fairness_test/wpa2_personal/test_bridge_air_time_fairness.py index 089a29541..446eed1e9 100644 --- a/tests/e2e/advanced/air_time_fairness_test/wpa2_personal/test_bridge_air_time_fairness.py +++ b/tests/e2e/advanced/air_time_fairness_test/wpa2_personal/test_bridge_air_time_fairness.py @@ -112,14 +112,14 @@ class TestAtfBridge(object): # station_2 TCP down throughtput wifi_cap(down="1Gbps", sta=f"{lf_sta[2]}", up="0Gbps", proto="TCP-IPv4", thrpt_key=f"{no_of_iter[3]}",wifi_cap=True,atn='170') # UDP traffic for station_0 of data-rate 40% of sta0_data_rate and station_1 of data-rate 40% of sta1_data_rate - wifi_cap(down=[(thrpt["sta0_tcp_dl"] * 0.01) * 4E7 ,(thrpt["sta1_tcp_dl"] * 0.01) * 4E7], sta=sta[0:2], up=0, + wifi_cap(down=[(thrpt["sta0_tcp_dl"] * 0.01) * 4E7 ,(thrpt["sta1_tcp_dl"] * 0.01) * 4E7], sta=sta[0:2], up="0Gbps", thrpt_key=f"{no_of_iter[4]}", l3_trf=True) # UDP traffic for station_0 of data-rate 40% of sta0_data_rate and medium distance station_1 of data-rate 40% of sta1_data_rate - wifi_cap(down=[(thrpt["sta0_tcp_dl"] * 0.01) * 4E7,(thrpt["sta1_tcp_dl_atn"] * 0.01) * 4E7], sta=sta[0:2], up=0, + wifi_cap(down=[(thrpt["sta0_tcp_dl"] * 0.01) * 4E7,(thrpt["sta1_tcp_dl_atn"] * 0.01) * 4E7], sta=sta[0:2], up="0Gbps", thrpt_key=f"{no_of_iter[5]}", l3_trf=True,atn=380) # UDP traffic for station_0 of data-rate 40% of sta0_data_rate and station_2 of data-rate 40% of sta2_data_rate wifi_cap(down=[(thrpt["sta0_tcp_dl"] * 0.01) * 4E7, (thrpt["sta2_tcp_dl"] * 0.01) * 4E7], sta=sta[0:3:2], - up=0, thrpt_key=f"{no_of_iter[6]}", l3_trf=True) + up="0Gbps", thrpt_key=f"{no_of_iter[6]}", l3_trf=True) print("Throughput values: \n",thrpt) allure.attach(name="Throughput Data", body="Throughput value : " + str(thrpt)) lf_test.Client_disconnect(clear_all_sta=True, clean_l3_traffic=True)