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
This commit is contained in:
Ivan FB 2025-06-16 18:43:34 +02:00 committed by GitHub
parent b9dcd4004e
commit 3ab0efe15f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 !!")