From 18a222043cbb155bcc25b64176c3413260b03d9d Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Fri, 13 Dec 2024 09:54:05 +0100 Subject: [PATCH] Debug --- .github/workflows/build-check.yaml | 2 +- tests/memory_leak.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-check.yaml b/.github/workflows/build-check.yaml index 6633d6eb6..f62ba41a2 100644 --- a/.github/workflows/build-check.yaml +++ b/.github/workflows/build-check.yaml @@ -278,7 +278,7 @@ jobs: - name: Run test run: | - ls -la ./build/tests/ + ls -la ./build/examples/ python3 ./build/tests/memory_leak.py timeout-minutes: 15 diff --git a/tests/memory_leak.py b/tests/memory_leak.py index 3cdef5ada..afcb08082 100644 --- a/tests/memory_leak.py +++ b/tests/memory_leak.py @@ -142,6 +142,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) if NO_LEAK_OUTPUT in z_queryable_output: print(f"{queryable_cmd} output valid") else: @@ -181,7 +182,7 @@ def query_and_queryable(query_cmd, queryable_cmd): if query_and_queryable('z_get_liveliness', 'z_liveliness') == 1: EXIT_STATUS = 1 # Test liveliness subscriber - # print("*** Liveliness subscriber test ***") + print("*** Liveliness subscriber test ***") # if query_and_queryable('z_sub_liveliness -h -n 1', 'z_liveliness') == 1: # EXIT_STATUS = 1 # Exit