diff --git a/tests/memory_leak.py b/tests/memory_leak.py index cfa2051bb..5e4b02229 100644 --- a/tests/memory_leak.py +++ b/tests/memory_leak.py @@ -133,6 +133,7 @@ def query_and_queryable(query_cmd, queryable_cmd): print("Check outputs") # Check output of z_query z_query_output = z_query_process.stderr.read() + print(z_query_output) if NO_LEAK_OUTPUT in z_query_output: print(f"{query_cmd} output valid") else: @@ -142,7 +143,7 @@ def query_and_queryable(query_cmd, queryable_cmd): # Check output of z_queryable z_queryable_output = z_queryable_process.stderr.read() - print(z_query_output) + print(z_queryable_output) if NO_LEAK_OUTPUT in z_queryable_output: print(f"{queryable_cmd} output valid") else: @@ -181,6 +182,7 @@ def query_and_queryable(query_cmd, queryable_cmd): EXIT_STATUS = 1 # Test liveliness subscriber print("*** Liveliness subscriber test ***") + sys.exit(0) # if query_and_queryable('z_sub_liveliness -h -n 1', 'z_liveliness') == 1: # EXIT_STATUS = 1 # Exit