-
Notifications
You must be signed in to change notification settings - Fork 312
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 automated scaling stress test with upload of metrics to CW #5912
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5912 +/- ##
========================================
Coverage 90.14% 90.14%
========================================
Files 180 180
Lines 15735 15735
========================================
Hits 14185 14185
Misses 1550 1550
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
d0bc012
to
f399ce7
Compare
f399ce7
to
66a83b5
Compare
…ther than nodes joining the cluster).
… to the potential bootstrap errors.
clustermgtd_conf_path = _retrieve_clustermgtd_conf_path(remote_command_executor) | ||
_set_protected_failure_count(remote_command_executor, 2, clustermgtd_conf_path) | ||
clustermgtd_conf_path = retrieve_clustermgtd_conf_path(remote_command_executor) | ||
set_protected_failure_count(remote_command_executor, 2, clustermgtd_conf_path) |
Check failure
Code scanning / CodeQL
Wrong number of arguments in a call Error test
function set_protected_failure_count
@@ -506,7 +508,7 @@ | |||
# Re-enable protected mode | |||
_enable_protected_mode(remote_command_executor, clustermgtd_conf_path) | |||
# Decrease protected failure count for quicker enter protected mode. | |||
_set_protected_failure_count(remote_command_executor, 2, clustermgtd_conf_path) | |||
set_protected_failure_count(remote_command_executor, 2, clustermgtd_conf_path) |
Check failure
Code scanning / CodeQL
Wrong number of arguments in a call Error test
function set_protected_failure_count
@@ -1947,7 +1941,7 @@ | |||
): | |||
"""Test Bootstrap failures have no affect on cluster when protected mode is disabled.""" | |||
# Disable protected_mode by setting protected_failure_count to -1 | |||
_set_protected_failure_count(remote_command_executor, -1, clustermgtd_conf_path) | |||
set_protected_failure_count(remote_command_executor, -1, clustermgtd_conf_path) |
Check failure
Code scanning / CodeQL
Wrong number of arguments in a call Error test
function set_protected_failure_count
superseded by #6027 |
Description of changes
This test scales a cluster up and down while periodically monitoring some primary metrics.
The metrics monitored are:
The above metrics are uploaded to CloudWatch.
The output of this test are:
(A variety of cluster sizes will be added in subsequent PRs)
Tests
References
Checklist
develop
add the branch name as prefix in the PR title (e.g.[release-3.6]
).Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.