conflux-rust icon indicating copy to clipboard operation
conflux-rust copied to clipboard

python test mininode should send_status periodically to prevent from being disconnected

Open yangzhe1990 opened this issue 4 years ago • 2 comments

Conflux full node will kill connection, deregister = true, reason = "sync heartbeat timeout"

yangzhe1990 avatar Jun 03 '20 17:06 yangzhe1990

@yangzhe1990 Have you encountered this? I don't recall seeing tests failing with this issue.

Thegaram avatar Jun 16 '20 10:06 Thegaram

I have encountered this when running long-lasting ethereum replay tests. In some python tests there is an argument set to Conflux node to make the status wait to be extremely long.

It's not difficult to send the status every 30s or so (the timeout being 90s) from mininode itself.

yangzhe1990 avatar Jun 16 '20 12:06 yangzhe1990