-
Notifications
You must be signed in to change notification settings - Fork 18
Add performance tests #1033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add performance tests #1033
Conversation
Add one of following labels |
83ce161
to
3872947
Compare
docs/contributor/04-10-workflows.md
Outdated
|
||
### Performance Tests | ||
|
||
The [workflow](/.github/workflows/run-performance-tests-reusable.yaml) runs performance and tests on the k3s cluster. The following parameters are required from the calling workflow: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runs performance and tests
or just runs performance tests
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Runs performance tests. I will fix it.
docs/contributor/04-10-workflows.md
Outdated
- **Purpose**: Evaluates the system's response time and reconciliation success rate when the `sap-btp-manager` secret is updated frequently. | ||
- **Steps**: | ||
- Patches the `sap-btp-manager` secret in a loop to simulate frequent updates. | ||
- Fetches metrics from the `btp-manager-controller-manager` to measure average reconcile time, reconcile errors, and other reconciliation statistics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fetches metrics from the `btp-manager-controller-manager` to measure average reconcile time, reconcile errors, and other reconciliation statistics. | |
- Fetches metrics from `btp-manager-controller-manager` to measure average reconcile time, reconcile errors, and other reconciliation statistics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't reconcile time, reconcile errors
be reconciliation time, reconciliation errors
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change it to reconciliation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also change reconcile
to reconciliation
in the following lines: 122, 123, 133, 135, 136, and 141. And maybe line 128 - not sure if I get it right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/contributor/04-10-workflows.md
Outdated
- **Steps**: | ||
- Patches the `sap-btp-manager` secret in a loop to simulate frequent updates. | ||
- Fetches metrics from the `btp-manager-controller-manager` to measure average reconcile time, reconcile errors, and other reconciliation statistics. | ||
- **Failure Handling**: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure Handling
implies some information on how to cope with the failure, which is not the case here. How about:
The test fails in the following conditions:
- The average reconcile time exceeds the defined threshold.
- Some reconcile errors are detected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I will change it to The test fails in the following conditions
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Co-authored-by: Iwona Langer <[email protected]>
Description
Changes proposed in this pull request:
More details about the tests are in the documentation in the PR
Related issue(s)
See #1032