Skip to content

test(sync): un-ignore Can_cancel_seal_validation#11744

Merged
LukaszRozmej merged 1 commit into
NethermindEth:masterfrom
0xDevNinja:test/unignore-can-cancel-seal-validation
May 25, 2026
Merged

test(sync): un-ignore Can_cancel_seal_validation#11744
LukaszRozmej merged 1 commit into
NethermindEth:masterfrom
0xDevNinja:test/unignore-can-cancel-seal-validation

Conversation

@0xDevNinja

Copy link
Copy Markdown
Contributor

Changes

  • Nethermind.Synchronization.Test.ForwardHeaderProviderTests.Can_cancel_seal_validation has been [Ignore]d since the Travis CI days with the comment "Fails OneLoggerLogManager Travis only". Travis was retired years ago and the test has been silently skipped ever since — meaning we have had zero real coverage of IForwardHeaderProvider.GetBlockHeaders cancellation when seal validation is slow.
  • Locally on release/net10.0, the test passes cleanly: 20 consecutive standalone runs and the full ForwardHeaderProvider* fixture (39 tests) all green.
  • Drop the attribute so the test runs in normal CI again.

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Re-enable a previously skipped test

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Notes on testing

The PR is the test re-enablement; no new test added. Verified locally with 20x stress runs (all pass) plus the surrounding 39-test fixture (all pass). Will be visible in CI on this branch.

Documentation

Requires documentation update

  • Yes
  • No

Requires explanation in Release Notes

  • Yes
  • No

`[Ignore("Fails OneLoggerLogManager Travis only")]` was added back when
the repo still ran on Travis CI. Travis was retired years ago and the
test has been silently skipped since.

Re-running locally on the current `Nethermind.Synchronization.Test`
project the test passes cleanly — 20 consecutive standalone runs and 39
sibling `ForwardHeaderProvider*` tests in the same fixture all green.
Drop the attribute so it executes in normal CI again and gives us real
coverage of `IForwardHeaderProvider.GetBlockHeaders` cancellation when
seal validation is slow.
@LukaszRozmej LukaszRozmej merged commit bc202b4 into NethermindEth:master May 25, 2026
540 of 541 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants