]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: Optmizing sleep sequence in cephtool/test.sh
authorErwan Velu <erwan@redhat.com>
Wed, 23 Mar 2016 09:45:33 +0000 (10:45 +0100)
committerErwan Velu <erwan@redhat.com>
Tue, 5 Apr 2016 07:36:25 +0000 (09:36 +0200)
commit62bdde2cd2acbfaf0a74d382f9a44258053b47d3
tree631eb693131e4a06097823ed8fcf4f12103fec13
parent8a49a869011e18ee08cff4f37b28fb0cd05eec10
tests: Optmizing sleep sequence in cephtool/test.sh

The actual code double the wait time between two calls leading to a
possible 511s of waiting time which sounds a little bit excessive.

This patch offer to reduce the global wait time to 300s and test more
often the rados status to exit the loop earlier. In a local test, that
saves 6 secs per run.
Signed-off-by: Erwan Velu <erwan@redhat.com>
qa/workunits/cephtool/test.sh