From ad8e21651935b50e39faeea23a69e37c70a01c49 Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Thu, 28 Nov 2024 18:36:49 +0200 Subject: [PATCH] Add back logging --- tests/integration/ha_tests/helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/ha_tests/helpers.py b/tests/integration/ha_tests/helpers.py index e8a16da71e..1e2402f0fe 100644 --- a/tests/integration/ha_tests/helpers.py +++ b/tests/integration/ha_tests/helpers.py @@ -99,6 +99,8 @@ async def are_writes_increasing( use_ip_from_inside=use_ip_from_inside, extra_model=extra_model, ) + logger.info(f"Initial writes {writes}") + for member, count in writes.items(): for attempt in Retrying(stop=stop_after_delay(60 * 3), wait=wait_fixed(3)): with attempt: @@ -108,6 +110,7 @@ async def are_writes_increasing( use_ip_from_inside=use_ip_from_inside, extra_model=extra_model, ) + logger.info(f"Retry writes {more_writes}") assert more_writes[member] > count, ( f"{member}: writes not continuing to DB (current writes: {more_writes[member]} - previous writes: {count})" )