Skip to content

Conversation

@KaloyanTanev
Copy link
Collaborator

@KaloyanTanev KaloyanTanev commented Nov 25, 2024

After QA testing and review by Oisin, some changes were made.

  • Rename --cluster-lock-file-path to --lock-file and --cluster-definition-file-path to --definition-file in test peers command. This is to be aligned with the rest of the CLI.
  • Allow passing of cluster definition by URL to --definition-file flag.
  • Remove [REQUIRED] from the MEV test --beacon-node-endpoint flag description, as this flag is required only if --load-test is enabled.
  • Do single MEV block creation test, to which users can specify number of blocks to smoothen the result. Previously we had 2 test, one with single block and second with multiple (by default 3). Now it is only the second test with a default of 1.
  • Rename the --load-test-blocks flag in MEV test to --number-of-payloads.
  • Round the measurements - > 1s to 2 digits after the decimal, < 1s to whole number.
  • Delete the fio command created test file.
  • Add a missed return statement.
  • Bring back the test command to alpha state 😔.

category: feature
ticket: none

@KaloyanTanev KaloyanTanev self-assigned this Nov 25, 2024
@KaloyanTanev KaloyanTanev marked this pull request as draft November 25, 2024 15:41
@codecov
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

Attention: Patch coverage is 49.01961% with 26 lines in your changes missing coverage. Please review.

Project coverage is 57.35%. Comparing base (6067f8b) to head (d49ee56).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
cmd/cmd.go 0.00% 8 Missing ⚠️
cmd/testinfra.go 14.28% 6 Missing ⚠️
cmd/testpeers.go 57.14% 6 Missing ⚠️
cmd/testmev.go 50.00% 4 Missing and 1 partial ⚠️
cmd/testbeacon.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3390      +/-   ##
==========================================
+ Coverage   57.24%   57.35%   +0.11%     
==========================================
  Files         217      217              
  Lines       32028    31978      -50     
==========================================
+ Hits        18333    18342       +9     
+ Misses      11799    11745      -54     
+ Partials     1896     1891       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KaloyanTanev KaloyanTanev marked this pull request as ready for review November 26, 2024 09:17
@sonarqubecloud
Copy link

@KaloyanTanev KaloyanTanev added the merge when ready Indicates bulldozer bot may merge when all checks pass label Nov 26, 2024
@obol-bulldozer obol-bulldozer bot merged commit e7925a1 into main Nov 26, 2024
14 checks passed
@obol-bulldozer obol-bulldozer bot deleted the kalo/test-command-flags-update branch November 26, 2024 10:07
KaloyanTanev added a commit that referenced this pull request Nov 26, 2024
After QA testing and review by Oisin, some changes were made.

- Rename `--cluster-lock-file-path` to `--lock-file` and `--cluster-definition-file-path` to `--definition-file` in test peers command. This is to be aligned with the rest of the CLI.
- Allow passing of cluster definition by URL to `--definition-file` flag.
- Remove [REQUIRED] from the MEV test `--beacon-node-endpoint` flag description, as this flag is required only if `--load-test` is enabled.
- Do single MEV block creation test, to which users can specify number of blocks to smoothen the result. Previously we had 2 test, one with single block and second with multiple (by default 3). Now it is only the second test with a default of 1.
- Rename the `--load-test-blocks` flag in MEV test to `--number-of-payloads`.
- Round the measurements - > 1s to 2 digits after the decimal, < 1s to whole number.
- Delete the fio command created test file.
- Add a missed return statement.
- Bring back the test command to alpha state 😔.

category: feature
ticket: none
obol-bulldozer bot pushed a commit that referenced this pull request Nov 26, 2024
- Address some issues found during testing and more thorough reviewing, mentioned in #3390 .
- Fix ownership of `/opt/charon` directory inside the Docker container #3389 .
- Bump linter's version #3387 .
- Bump dependencies #3391 .

category: misc
ticket: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge when ready Indicates bulldozer bot may merge when all checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants