Skip to content

Commit

Permalink
Fix setting alarm_threshold
Browse files Browse the repository at this point in the history
Change-Id: Ia0ec19a4906a50ca7edc7a6c83398bed7284d4f9
Related-Prod: PRODX-47898
  • Loading branch information
jumpojoy committed Nov 11, 2024
1 parent 9a63796 commit d9c3076
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 d9c3076

Please sign in to comment.