From 3ab0efe15f4ae4b9e581214894588fee3b81ed75 Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Mon, 16 Jun 2025 18:43:34 +0200 Subject: [PATCH] adapt the tests to the new health check result returned by wakunode2 app (#123) see the following for further details why this is needed: https://github.com/waku-org/nwaku/pull/3456 --- src/node/waku_node.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/node/waku_node.py b/src/node/waku_node.py index 501e7fcb..eefb0782 100644 --- a/src/node/waku_node.py +++ b/src/node/waku_node.py @@ -262,12 +262,12 @@ class WakuNode: except Exception as ex: raise AttributeError(f"Unknown health response format {ex}") - if self.health_response.get("nodeHealth") != "Ready": - raise AssertionError("Waiting for the node health status: Ready") + if self.health_response.get("nodeHealth") != "READY": + raise AssertionError("Waiting for the node health status: READY") # for p in self.health_response.get("protocolsHealth"): - # if p.get("Rln Relay") != "Ready": - # raise AssertionError("Waiting for the Rln relay status: Ready") + # if p.get("Rln Relay") != "READY": + # raise AssertionError("Waiting for the Rln relay status: READY") logger.info("Node protocols are initialized !!")