We should have an integration test (one that doesn't run under the #test feature/flag) that spins up a main net node, connects to a live main net server (that we control), sees that it is many blocks behind tip and thus enters sync mode, sends a sync request, receives a sync response, verifies this, and the successfully goes into sync mode. Once sync mode is entered, the test is done, and the node should shut down.
This would be a nice integration test that would run through many crucial parts of the peer_loop and sync_loop.
We should have an integration test (one that doesn't run under the
#testfeature/flag) that spins up a main net node, connects to a live main net server (that we control), sees that it is many blocks behind tip and thus enters sync mode, sends a sync request, receives a sync response, verifies this, and the successfully goes into sync mode. Once sync mode is entered, the test is done, and the node should shut down.This would be a nice integration test that would run through many crucial parts of the
peer_loopandsync_loop.