besu
besu copied to clipboard
fix(evmtool): implement --repeat option in state-test subcommand
PR description
The --repeat option was defined in EvmToolCommand but not used by StateTestSubCommand. This adds support for running state tests multiple times for warmup.
Fixed Issue(s)
fixes #8855
Thanks for sending a pull request! Have you done the following?
- [x] Checked out our contribution guidelines?
- [ ] Considered documentation and added the
doc-change-requiredlabel to this PR if updates are required. - [ ] Considered the changelog and included an update if required.
- [ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests
Locally, you can run these tests to catch failures early:
- [ ] spotless:
./gradlew spotlessApply - [x] unit tests:
./gradlew build - [ ] acceptance tests:
./gradlew acceptanceTest - [ ] integration tests:
./gradlew integrationTest - [ ] reference tests:
./gradlew ethereum:referenceTests:referenceTests