Skip to content
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

[Backport 2024.2] fix(test_workload_types): adjust workload comparison for 2024.2 #9016

Draft
wants to merge 1 commit into
base: branch-2024.2
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions sla_per_user_system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from sdcm.es import ES
from sdcm.sct_events import Severity
from sdcm.sct_events.workload_prioritisation import WorkloadPrioritisationEvent
from sdcm.utils.version_utils import ComparableScyllaVersion
from test_lib.sla import ServiceLevel, Role, User


Expand Down Expand Up @@ -828,6 +829,14 @@ def _compare_workloads_c_s_metrics(self, workloads_queue: list) -> dict:
comparison_axis = {"latency 95th percentile": 2.0,
"latency 99th percentile": 2.0,
"op rate": 2.0}
<<<<<<< HEAD
=======
if ComparableScyllaVersion(self.db_cluster.nodes[0].scylla_version) >= '2024.2.0~rc3':
# Running the test with 2024.3 - deviation was improved
comparison_axis = {"latency 95th percentile": 1.0,
"latency 99th percentile": 1.0,
"op rate": 1.0}
>>>>>>> 9018c7f23 (fix(test_workload_types): adjust workload comparison for 2024.2)
workloads_results = {}
for workload in workloads_queue:
result = self.get_stress_results(queue=workload, store_results=False)
Expand Down
Loading