You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The returned values slighty changed, and this breaks the end to end test (which uses latest API by default).
---- boavizta_api_v1::tests::should_retrieve_raw_default_impacts_aws_fr stdout ----
thread 'boavizta_api_v1::tests::should_retrieve_raw_default_impacts_aws_fr' panicked at cloud-scanner-cli/src/boavizta_api_v1.rs:359:9:
json atoms at path ".impacts.gwp.embedded.max" are not equal:
expected:
0.002547
actual:
0.002545
json atoms at path ".impacts.gwp.embedded.min" are not equal:
expected:
0.0009013
actual:
0.0008995
json atoms at path ".impacts.pe.embedded.max" are not equal:
expected:
0.03333
actual:
0.03331
json atoms at path ".impacts.pe.embedded.min" are not equal:
expected:
0.01188
actual:
0.01186
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
boavizta_api_v1::tests::should_retrieve_raw_default_impacts_aws_fr
Problem
Latest Boavizta Boavizta API release brings an updated calculation method of embedded impacts of CPU.
https://github.com/Boavizta/boaviztapi/releases/tag/v1.2.4
The returned values slighty changed, and this breaks the end to end test (which uses latest API by default).
Solution
Update the test values.
This seems consistent with the update on the API tests https://github.com/Boavizta/boaviztapi/pull/279/files#
Alternatives
Additional context or elements
The text was updated successfully, but these errors were encountered: