Page MenuHomePhabricator

[avalanche] Fix staking reward flakiness after node restart in contenders test
ClosedPublic

Authored by roqqit on Fri, Apr 25, 20:13.

Details

Summary

Staking rewards may not be ready and trying to force them to be ready via setmocktime after restarting the node causes the prior quorum's proofs to be removed for dangling too long. Instead, we can check if staking rewards is ready and verify the respective poll response. Either PENDING or ACCEPTED are reasonable for our purposes here.

Test Plan
./test/functional/test_runner.py abc_p2p_avalanche_contender_voting

Diff Detail

Event Timeline

roqqit requested review of this revision.Fri, Apr 25, 20:13
This revision is now accepted and ready to land.Sat, Apr 26, 09:01