Removed use of realm cleanup prior to test start

This commit is contained in:
Logan Lipke
2020-07-10 16:32:22 -07:00
parent d3ef95b22d
commit a36e395c12
7 changed files with 6 additions and 18 deletions

View File

@@ -107,9 +107,7 @@ def main():
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
ip_test = IPv4Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
security="open", sta_list=station_list)
ip_test.local_realm.remove_all_stations(ip_test.resource)
ip_test.local_realm.remove_all_cxs()
ip_test.local_realm.remove_all_endps()
ip_test.cleanup(station_list)
ip_test.timeout = 60
ip_test.build()
if not ip_test.passes():

View File

@@ -150,9 +150,7 @@ def main():
ip_test = IPV4L4(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
security="open", station_list=station_list, url="dl http://10.40.0.1 /dev/null", test_duration="5m",
requests_per_ten=600)
ip_test.local_realm.remove_all_stations(ip_test.resource)
ip_test.local_realm.remove_all_cxs()
ip_test.local_realm.remove_all_endps()
ip_test.cleanup(station_list)
ip_test.build()
if not ip_test.passes():
print(ip_test.get_fail_message())

View File

@@ -143,9 +143,7 @@ def main():
security="open", station_list=station_list, url="dl http://10.40.0.1 /dev/null", num_tests=1,
target_requests_per_ten=600,
requests_per_ten=600)
ip_test.local_realm.remove_all_stations(ip_test.resource)
ip_test.local_realm.remove_all_cxs()
ip_test.local_realm.remove_all_endps()
ip_test.cleanup(station_list)
ip_test.build()
ip_test.start()
ip_test.stop()

View File

@@ -157,9 +157,7 @@ def main():
security="open", test_duration="5m",
side_a_min_rate=256, side_b_min_rate=256)
ip_var_test.local_realm.remove_all_stations(ip_var_test.resource)
ip_var_test.local_realm.remove_all_cxs()
ip_var_test.local_realm.remove_all_endps()
ip_var_test.cleanup(station_list)
ip_var_test.build()
if not ip_var_test.passes():
print(ip_var_test.get_fail_message())

View File

@@ -111,9 +111,7 @@ def main():
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
ipv6_test = IPv6Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
security="open", sta_list=station_list)
ipv6_test.local_realm.remove_all_stations(ipv6_test.resource)
ipv6_test.local_realm.remove_all_cxs()
ipv6_test.local_realm.remove_all_endps()
ipv6_test.cleanup(station_list)
ipv6_test.timeout = 60
ipv6_test.build()
if not ipv6_test.passes():

View File

@@ -157,9 +157,7 @@ def main():
password="jedway-wpa2-x2048-4-4",
resource=1, security="open", test_duration="5m",
side_a_min_rate=256, side_b_min_rate=256)
ip_var_test.local_realm.remove_all_stations(ip_var_test.resource)
ip_var_test.local_realm.remove_all_cxs()
ip_var_test.local_realm.remove_all_endps()
ip_var_test.cleanup(station_list)
ip_var_test.build()
if not ip_var_test.passes():
print(ip_var_test.get_fail_message())

0
py-scripts/test_l3_powersave_traffic.py Normal file → Executable file
View File