From 46e114b240334802cf992bb704ce84bb84221295 Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Fri, 13 Dec 2024 09:18:30 +0100 Subject: [PATCH] Debug --- tests/memory_leak.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/memory_leak.py b/tests/memory_leak.py index bf2afed78..3cdef5ada 100644 --- a/tests/memory_leak.py +++ b/tests/memory_leak.py @@ -177,12 +177,12 @@ def query_and_queryable(query_cmd, queryable_cmd): 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: - # EXIT_STATUS = 1 - # Test liveliness subscriber - print("*** Liveliness subscriber test ***") - if query_and_queryable('z_sub_liveliness -h -n 1', 'z_liveliness') == 1: + print("*** Get liveliness test ***") + if query_and_queryable('z_get_liveliness', 'z_liveliness') == 1: EXIT_STATUS = 1 + # Test liveliness subscriber + # print("*** Liveliness subscriber test ***") + # if query_and_queryable('z_sub_liveliness -h -n 1', 'z_liveliness') == 1: + # EXIT_STATUS = 1 # Exit sys.exit(EXIT_STATUS)