Add some more fudge factor for growroot test
It seems that 2MiB of fudge isn't quite enough; Trusty has been seen to round it's root partition size down and we miss it. Increase the fudge factor. Change-Id: I26e3bc7b5f68ea6642b8b57119fbd286688d593e
This commit is contained in:
parent
ee78684521
commit
1ad32c2509
@ -39,7 +39,7 @@ function sshintonode {
|
||||
# Check that the root partition grew on boot; it should be a 5GiB
|
||||
# partition, but subtract some space for boot region.
|
||||
root_size=$(/tmp/ssh_wrapper $node -- lsblk -rbno SIZE /dev/vda1)
|
||||
expected_root_size=$(( (5 * 1024 * 1024 * 1024) - ( 2048 * 1024 ) ))
|
||||
expected_root_size=$(( (5 * 1024 * 1024 * 1024) - ( 4096 * 1024 ) ))
|
||||
if [[ $root_size -lt $expected_root_size ]]; then
|
||||
echo "Root device does not appear to have grown: $root_size"
|
||||
RETURN=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user