We should always disconnect finalizer from the node
that generates blocks.
We have a function wait_for_vote_and_disconnect which takes care of this
but in this particular test we measure propagation time and that function
has an overhead when it tries to check the content of mempool so we can't use it.
Resolves #819
From the log:
We see that the vote was received earlier than the block was marked as a new Tip.
This is a known race-condition and explained here https://github.com/dtr-org/unit-e/pull/731#issuecomment-469335061
We should always disconnect finalizer from the node that generates blocks.
We have a function
wait_for_vote_and_disconnect
which takes care of this but in this particular test we measure propagation time and that function has an overhead when it tries to check the content of mempool so we can't use it.Signed-off-by: Kostiantyn Stepaniuk kostia@thirdhash.com