Skip to content

Fix/hunting flaky tests#9470

Merged
LukaszRozmej merged 2 commits into
masterfrom
fix/hunting-flaky-tests
Oct 15, 2025
Merged

Fix/hunting flaky tests#9470
LukaszRozmej merged 2 commits into
masterfrom
fix/hunting-flaky-tests

Conversation

@LukaszRozmej

Copy link
Copy Markdown
Member

Types of changes

What types of changes does your code introduce?

  • Build-related changes
  • Other: Flaky tests

@LukaszRozmej LukaszRozmej requested review from alexb5dh, asdacap, benaadams, Copilot and rubo and removed request for asdacap October 15, 2025 07:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses flaky test issues by implementing retry mechanisms and adjusting timeout configurations for synchronization and network discovery tests. The changes aim to improve test stability in CI environments by accommodating timing variability.

Key changes:

  • Added retry attributes and parallelization control to reduce test flakiness
  • Increased timeout values for background operations to allow more time for async processes
  • Improved variable type specification for better code clarity

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Nethermind/Nethermind.Synchronization.Test/SyncServerTests.cs Added retry/parallelization attributes, increased timeout from 8s to 15s, and specified variable type
src/Nethermind/Nethermind.Network.Discovery.Test/E2EDiscoveryTests.cs Added retry/parallelization attributes and increased timeout from 1s to 5s

Comment thread src/Nethermind/Nethermind.Synchronization.Test/SyncServerTests.cs
@LukaszRozmej LukaszRozmej marked this pull request as ready for review October 15, 2025 08:02
@LukaszRozmej

Copy link
Copy Markdown
Member Author

Passed on first try!

@LukaszRozmej LukaszRozmej merged commit 6f0d4d0 into master Oct 15, 2025
81 checks passed
@LukaszRozmej LukaszRozmej deleted the fix/hunting-flaky-tests branch October 15, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants