Updated main method to make use of Realm's new cleanup methods before start of tests

This commit is contained in:
Logan Lipke
2020-07-10 12:02:41 -07:00
parent 2cadb84f4c
commit 747c905465
6 changed files with 19 additions and 6 deletions

View File

@@ -146,7 +146,9 @@ 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.cleanup(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.build()
if not ip_test.passes():
print(ip_test.get_fail_message())