mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
commented unnecessary output and exit_fail() call causing the test to end prematurely when not using urls test type
This commit is contained in:
@@ -112,7 +112,7 @@ class L4CXProfile(LFCliBase):
|
|||||||
if name in self.created_cx.keys():
|
if name in self.created_cx.keys():
|
||||||
expected_passes += 1
|
expected_passes += 1
|
||||||
if info['urls/s'] * self.requests_per_ten >= self.target_requests_per_ten * .9:
|
if info['urls/s'] * self.requests_per_ten >= self.target_requests_per_ten * .9:
|
||||||
print(name, info['urls/s'], info['urls/s'] * self.requests_per_ten, self.target_requests_per_ten * .9)
|
# print(name, info['urls/s'], info['urls/s'] * self.requests_per_ten, self.target_requests_per_ten * .9)
|
||||||
passes += 1
|
passes += 1
|
||||||
|
|
||||||
return passes == expected_passes
|
return passes == expected_passes
|
||||||
@@ -262,14 +262,14 @@ class L4CXProfile(LFCliBase):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
new_rx_values = self.get_bytes()
|
new_rx_values = self.get_bytes()
|
||||||
expected_passes += 1
|
|
||||||
if self.compare_vals(old_rx_values, new_rx_values):
|
if self.compare_vals(old_rx_values, new_rx_values):
|
||||||
passes += 1
|
passes += 1
|
||||||
else:
|
else:
|
||||||
self._fail("FAIL: Not all stations increased traffic")
|
self._fail("FAIL: Not all stations increased traffic")
|
||||||
|
|
||||||
self.exit_fail()
|
# self.exit_fail()
|
||||||
time.sleep(monitor_interval)
|
time.sleep(monitor_interval)
|
||||||
|
|
||||||
print(value_map)
|
print(value_map)
|
||||||
|
|
||||||
#[further] post-processing data, after test completion
|
#[further] post-processing data, after test completion
|
||||||
|
|||||||
Reference in New Issue
Block a user