From a6136ca32926af3d10415fc0701d40da8cb33900 Mon Sep 17 00:00:00 2001 From: Logan Lipke Date: Wed, 4 Nov 2020 17:56:38 -0800 Subject: [PATCH] Removed debug output WIP --- py-scripts/test_fileio.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/py-scripts/test_fileio.py b/py-scripts/test_fileio.py index d125ec42..23ba8f10 100755 --- a/py-scripts/test_fileio.py +++ b/py-scripts/test_fileio.py @@ -94,23 +94,23 @@ class FileIOTest(LFCliBase): def __compare_vals(self, val_list): passes = 0 expected_passes = 0 - print(val_list) + # print(val_list) for item in val_list: expected_passes += 1 - print(item) + # print(item) if item[0] == 'r': - print("TEST", item, - val_list[item]['read-bps'], - self.endp_profile.min_read_rate_bps, - val_list[item]['read-bps'] > self.endp_profile.min_read_rate_bps) + # print("TEST", item, + # val_list[item]['read-bps'], + # self.endp_profile.min_read_rate_bps, + # val_list[item]['read-bps'] > self.endp_profile.min_read_rate_bps) if val_list[item]['read-bps'] > self.endp_profile.min_read_rate_bps: passes += 1 else: - print("TEST", item, - val_list[item]['write-bps'], - self.endp_profile.min_write_rate_bps, - val_list[item]['write-bps'] > self.endp_profile.min_write_rate_bps) + # print("TEST", item, + # val_list[item]['write-bps'], + # self.endp_profile.min_write_rate_bps, + # val_list[item]['write-bps'] > self.endp_profile.min_write_rate_bps) if val_list[item]['write-bps'] > self.endp_profile.min_write_rate_bps: passes += 1 @@ -155,7 +155,6 @@ class FileIOTest(LFCliBase): self.ro_profile.create(ports=self.station_profile.station_names, sleep_time=.5, debug_=self.debug, suppress_related_commands_=None) - def start(self, print_pass=False, print_fail=False): temp_stas = self.sta_list.copy() #temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2]) @@ -292,7 +291,7 @@ python3 ./test_fileio.py --upstream_port eth1 --fio_type fe_nfs4 --min_read 1Mbp ip_test.stop() if not ip_test.passes(): print(ip_test.get_fail_message()) - exit(1) + # exit(1) time.sleep(30) ip_test.cleanup(station_list) if ip_test.passes():