diff --git a/nuclia_e2e/nuclia_e2e/tests/test_kb_features.py b/nuclia_e2e/nuclia_e2e/tests/test_kb_features.py index 79d4b8f..84fb833 100644 --- a/nuclia_e2e/nuclia_e2e/tests/test_kb_features.py +++ b/nuclia_e2e/nuclia_e2e/tests/test_kb_features.py @@ -653,6 +653,7 @@ async def condition() -> tuple[bool, Any]: pagination=Pagination(limit=100), ), ) + print(f"activity_log_is_stored -----> {len(logs.data)}") if len(logs.data) >= 2: # as the asks may be retried more than once (because some times rephrase doesn't always work) # we need to check the last logs. The way the tests are setup if we reach here is because we @@ -662,11 +663,16 @@ async def condition() -> tuple[bool, Any]: and logs.data[-1].question == TEST_CHOCO_ASK_MORE ): return (True, logs) + from pprint import pprint # noqa: T203,I001,RUF100 + + print("----------------------------") + pprint(logs.data) # noqa: T203,I001,RUF100 + print("----------------------------") return (False, None) return condition - success, logs = await wait_for(activity_log_is_stored(), max_wait=180, logger=logger) + success, logs = await wait_for(activity_log_is_stored(), max_wait=360, logger=logger) assert success, "Activity logs didn't get stored in time" # if we have the ask events, we'll must have the find ones, as they have been done earlier.