Skip to content

Fixes rounding issue with total storage

Richard Chong requested to merge g461884-fix-storage-rounding into master

What does this MR do and why?

Looks like rounding for the total storage was changed and it now rounds the total storage properly. The total storage is 51.2537109375 which rounds to 51.3 but application was not doing that before so this fixes the test to expect the proper rounding value.

Relates to: #461884 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate

Set up the necessary environment variables in Staging then run:

bundle exec rspec qa/specs/features/ee/browser_ui/11_fulfillment/utilization/free_namespace_storage_spec.rb:107

Edited by Richard Chong

Merge request reports