diff --git a/tests/memory_leak.py b/tests/memory_leak.py index 0effe8f89..cfa2051bb 100644 --- a/tests/memory_leak.py +++ b/tests/memory_leak.py @@ -158,23 +158,23 @@ def query_and_queryable(query_cmd, queryable_cmd): EXIT_STATUS = 0 # Test failure mode - print("*** Failure mode ***") - if failure_mode('z_pub -m peer') == 1: - EXIT_STATUS = 1 - # Test pub and sub examples - print("*** Pub & sub test ***") - if pub_and_sub('z_pub -n 1', 'z_sub -n 1') == 1: - EXIT_STATUS = 1 - print("*** Pub & sub attachment test ***") - if pub_and_sub('z_pub_attachment -n 1', 'z_sub_attachment -n 1') == 1: - EXIT_STATUS = 1 + # print("*** Failure mode ***") + # if failure_mode('z_pub -m peer') == 1: + # EXIT_STATUS = 1 + ## Test pub and sub examples + # print("*** Pub & sub test ***") + # if pub_and_sub('z_pub -n 1', 'z_sub -n 1') == 1: + # EXIT_STATUS = 1 + # print("*** Pub & sub attachment test ***") + # if pub_and_sub('z_pub_attachment -n 1', 'z_sub_attachment -n 1') == 1: + # EXIT_STATUS = 1 # Test query and queryable examples - print("*** Query & queryable test ***") - if query_and_queryable('z_get', 'z_queryable -n 1') == 1: - EXIT_STATUS = 1 - print("*** Query & queryable attachment test ***") - if query_and_queryable('z_get_attachment -v Something', 'z_queryable_attachment -n 1') == 1: - EXIT_STATUS = 1 + # print("*** Query & queryable test ***") + # if query_and_queryable('z_get', 'z_queryable -n 1') == 1: + # EXIT_STATUS = 1 + # print("*** Query & queryable attachment test ***") + # if query_and_queryable('z_get_attachment -v Something', 'z_queryable_attachment -n 1') == 1: + # EXIT_STATUS = 1 # Test liveliness query print("*** Get liveliness test ***") if query_and_queryable('z_get_liveliness', 'z_liveliness') == 1: