]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
unittests: fail early when low on disk 1143/head
authorLoic Dachary <loic@dachary.org>
Sun, 26 Jan 2014 12:32:57 +0000 (13:32 +0100)
committerLoic Dachary <loic@dachary.org>
Sun, 26 Jan 2014 12:32:57 +0000 (13:32 +0100)
commitc06eca2448045acd44e902cbfb2430ee63dd92fd
treed6228f30c258245a323b70669e3cd61ed9d89bd7
parent97edd2fcad04e8766f965e3c487d469afbdb5a3f
unittests: fail early when low on disk

Scripts from qa that are run as unittests via test/vstart_wrapper.sh may
fail because the partition on which it runs is low on space ( 95% full
). When it happens the cause of the problem may be unclear because it
is likely to show only as a client not being able to reach the mon.

A test is added in test/vstart_wrapper.sh to verify the disk space usage
using the same method as the mon would and fail with a detailed error if
it is the case.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/vstart_wrapper.sh