Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix flaky BABE test #13199

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Commits on Jan 20, 2023

  1. Fix flaky BABE test

    The `authoring_blocks` test of BABE was calculating the slot based on the timestamp it sometimes
    failed in CI. The problem is that we combine all the notifications and authoring futures in one big
    future. This one big future may first polls one authoring future to build a block. Then it polls all
    notification futures again to import the block. Then some other authoring future is polled and
    builds on the imported block using the same slot and making the import fail. The solution is that we
    just artificially increase the slot to make the test work.
    bkchr committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    0d49276 View commit details
    Browse the repository at this point in the history