Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Dec 13, 2024
1 parent a4b3b9f commit 0b766e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/memory_leak.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0b766e2

Please sign in to comment.