Closed yihuang closed 4 months ago
The recent changes significantly enhance the testground
documentation and functionality, improving clarity for setting up stateless cluster tests. Key updates feature expanded command parameters for test cases, refined guidance on data directory management, and greater configurability in benchmarking tools. These modifications streamline user experience, promote better organization of output data, and ultimately support more effective testing processes.
Files | Change Summary |
---|---|
testground/README.md |
Enhanced documentation on stateless mode setup, added parameters for test commands, clarified data directory commands, and introduced a new output directory for node data files. |
testground/benchmark/benchmark/stateless.py |
Updated gen function with new parameters for account and transaction numbers, centralized configuration management with a config.json , and modified run function to read from this configuration for load generation, enhancing configurability and usability. |
testground/benchmark/benchmark/sendtx.py |
Improved logging in sendtx function to provide better visibility into transaction processes without altering functionality. |
testground/benchmark/compositions/docker-compose.jsonnet |
Simplified command execution by removing specific arguments for accounts and transactions, added a volumes section to allow external storage of output data, enhancing service flexibility while streamlining command execution. |
sequenceDiagram
participant User
participant TestRunner
participant ConfigManager
participant OutputManager
User->>TestRunner: Run Test
TestRunner->>ConfigManager: Load Configuration
ConfigManager-->>TestRunner: Return Parameters
TestRunner->>OutputManager: Generate Load
OutputManager-->>TestRunner: Store Output
TestRunner-->>User: Test Results
š In a meadow bright and fair,
New features hop with joyful flair!
With commands so sweet and clear,
Our tests run fast, we have no fear.
Outputs stored, oh what a sight,
Configs managed, all feels right!
Let's celebrate, with leaps and cheer! š
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 17.54%. Comparing base (
d545b24
) to head (192a2a9
).:exclamation: There is a different number of reports uploaded between BASE (d545b24) and HEAD (192a2a9). Click for more details.
HEAD has 12 uploads less than BASE
| Flag | BASE (d545b24) | HEAD (192a2a9) | |------|------|------| ||2|0| |integration_tests|20|10|
Solution:
š®š»š®š»š®š» !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! š®š»š®š»š®š»
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
New Features
Bug Fixes