Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Conversation

@ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Dec 30, 2024

Why this should be merged

Fixes the flaky test generator

How this works

This pull request includes a change to the generate function in the triedb/pathdb/database_test.go file. The modification ensures that the createAccountOp operation is always selected for the first iteration, and a random operation is chosen for subsequent iterations.

  • triedb/pathdb/database_test.go: Modified the generate function to always select createAccountOp for the first iteration and randomize the operation for subsequent iterations.

How this was tested

It's fix to the test

Need to be documented?

No

Need to update RELEASES.md?

No

@ceyonur ceyonur requested review from a team and darioush as code owners December 30, 2024 18:09
Copy link

@darioush darioush left a comment

Choose a reason for hiding this comment

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

lgtm, would you please submit the upstream PR as well?

@ceyonur ceyonur enabled auto-merge (squash) December 30, 2024 18:28
@ceyonur ceyonur merged commit 90ce341 into master Dec 30, 2024
8 checks passed
@ceyonur ceyonur deleted the fix-flaky-tester branch December 30, 2024 19:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants