conflux-rust
conflux-rust copied to clipboard
python test mininode should send_status periodically to prevent from being disconnected
Conflux full node will kill connection, deregister = true, reason = "sync heartbeat timeout"
@yangzhe1990 Have you encountered this? I don't recall seeing tests failing with this issue.
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.