From a4b3b9f101122eb30368c60239a6aa1dd8a03c82 Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Fri, 13 Dec 2024 12:04:41 +0100 Subject: [PATCH] Debug --- tests/memory_leak.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) 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: