fixing errors in l4cxprofile

This commit is contained in:
Matthew Stidham
2021-01-25 10:41:03 -08:00
committed by Jed Reynolds
parent 9d7e518bd3
commit a55ce37db9
2 changed files with 3 additions and 3 deletions

View File

@@ -1602,7 +1602,7 @@ class L4CXProfile(LFCliBase):
endp_list = endp_list['endpoint']
for item in endp_list:
for name, info in item.items():
if name in self.cx_profile.created_cx.keys():
if name in self.created_cx.keys():
expected_passes += 1
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)
@@ -1745,7 +1745,7 @@ class L4CXProfile(LFCliBase):
timestamps.append(t)
value_map[t] = response
expected_passes += 1
if self.cx_profile.check_errors(debug):
if self.check_errors(debug):
if self.__check_request_rate(): #need to changed
passes += 1
else:

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