test_l3_longevity.py : testing realm - debug information

This commit is contained in:
Chuck SmileyRekiere
2021-02-05 13:02:51 -07:00
parent eb854d9104
commit 2093e263a1

View File

@@ -988,7 +988,8 @@ class L3VariableTime(Realm):
if self.__compare_vals(old_rx_values, new_rx_values):
passes += 1
else:
self._fail("FAIL: Not all stations increased traffic", print_fail)
fail_msg = "FAIL: TIME: {} EPOCH: {} Not all stations increasked traffic".format(cur_time, self.epoch_time)
self._fail(fail_msg, print_fail)
old_rx_values = new_rx_values
self.__record_rx_dropped_percent(rx_drop_percent)
@@ -1333,7 +1334,7 @@ python3 test_l3_longevity.py --cisco_ctlr 192.168.100.112 --cisco_dfs True --mgr
ip_var_test.start(False, False)
ip_var_test.stop()
if not ip_var_test.passes():
print("stop test failed")
print("Test Ended: There were Failures")
print(ip_var_test.get_fail_message())
try: