ceph/qa
Erwan Velu c5fa83f586 tests: Avoiding a fixed 10sec sleep in test_mon_cephdf_commands()
The current code was waiting 10s to expect the file being put.
If the file was put in a shorter time than 10s, the test just waits for
nothing reducing the execution speed of that test.

This patch simply check if the file is actually available every second
during 10sec to exit prematurely.

This patch saves exactly 10 sec on a local system, surely a little bit
less on an infra but still saves time.
Signed-off-by: Erwan Velu <erwan@redhat.com>
2016-04-05 09:36:25 +02:00
..
btrfs
client
fs
libceph
mds
mon/bootstrap
qa_scripts remove rest-bench 2015-07-30 13:21:36 -04:00
rbd
workunits tests: Avoiding a fixed 10sec sleep in test_mon_cephdf_commands() 2016-04-05 09:36:25 +02:00
loopall.sh
Makefile
run_xfstests_krbd.sh qa/krbd: Expunge generic/247 2015-12-07 09:24:33 -08:00
run_xfstests_qemu.sh qa: https://ceph.com/git -> https://git.ceph.com 2015-09-24 18:36:57 -04:00
run_xfstests-obsolete.sh use git://git.ceph.com 2015-04-16 08:29:41 -07:00
run_xfstests.sh qa: https://ceph.com/git -> https://git.ceph.com 2015-09-24 18:36:57 -04:00
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh