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 7840e77 commit a4b3b9f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions tests/memory_leak.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a4b3b9f

Please sign in to comment.