We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62e2f24 + d5bb68e commit 4eb9661Copy full SHA for 4eb9661
tests/test-verify-volume-size.yml
@@ -48,6 +48,6 @@
48
var: storage_test_expected_size
49
50
- assert:
51
- that: storage_test_actual_size.bytes == storage_test_expected_size|int
+ that: (storage_test_expected_size|int - storage_test_actual_size.bytes)|abs / storage_test_expected_size|int < 0.01
52
msg: "Volume {{ storage_test_volume.name }} has unexpected size ({{ storage_test_expected_size|int }} / {{ storage_test_actual_size.bytes }})"
53
when: _storage_test_volume_present and storage_test_volume.type == "lvm"
0 commit comments