-
Notifications
You must be signed in to change notification settings - Fork 16
Labels
Block NodeIssues/PR related to the Block Node.Issues/PR related to the Block Node.Testsissue related to enhancing the testsissue related to enhancing the tests
Description
Story Form
As a Block Node Engineer
I want to have sane k6 tests, which accurately reflect important for me metrics
So that I can know if performance suddenly changes
Technical Notes
DEPENDS ON: #1878
- currently, tests that are written for k6 include multiple method calls
- this by itself is not problematic
- we have found out, however, that the grpc module of k6 is very limited, and unfortunately, as of today, it appears we will not be able to create custom metrics
- custom metrics are needed so that we know for sure what we are measuring and if multiple calls of different methods are made, we can differentiate them and only look at what interest us
- in order to achieve an e2e test for example, we will need to make a test for publisher only and then for subscriber only, to work around the limitations
- the simulator could be utilized to feed data to the BN and then tests could only focus on a single method call for the tests to be accurate
- the main purpose of the k6 tests is to give us averages and not exact performance, we have to be able to quickly detect severe performance degradation based on current changes and know that our current changes have caused it
Metadata
Metadata
Assignees
Labels
Block NodeIssues/PR related to the Block Node.Issues/PR related to the Block Node.Testsissue related to enhancing the testsissue related to enhancing the tests
Type
Projects
Status
🛠 Tasks In Progress