Skip to content

Commit

Permalink
Merge "Fix setting alarm_threshold"
Browse files Browse the repository at this point in the history
  • Loading branch information
MOS CI authored and Gerrit Code Review committed Nov 11, 2024
2 parents 8d47a1c + d9c3076 commit 3a0d4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack_controller/filters/tempest/conf/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ def alarm_threshold(self):
# but the script that loads CPU is single threaded,
# so it has no sense to use multi-core flavors for this test
vcpus = 1
return target_cpu_util * vcpus * granularity * 1e9
return str(int(target_cpu_util * vcpus * granularity * 1e9))

0 comments on commit 3a0d4be

Please sign in to comment.