]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: Reducing sleep loops in ceph_objectstore_tool
authorErwan Velu <erwan@redhat.com>
Tue, 22 Mar 2016 10:20:24 +0000 (11:20 +0100)
committerErwan Velu <erwan@redhat.com>
Tue, 5 Apr 2016 07:36:25 +0000 (09:36 +0200)
commit1b7991e92e1bf9176fff52c604d32aa817b3dd5c
tree0d89b2fa2957907baa2aa4bad3faa9261cb02f22
parent0d254d8916a7828822efe51e245178c3c120f146
tests: Reducing sleep loops in ceph_objectstore_tool

This python script is making excessive sleep calls while running some
ceph commands.

Waiting up to 5 seconds to get the proper health status can be shorten
to avoid the worst case of waiting almost 5 seconds for nothing.

This patch removes also two sleeps calls after a wait_for_health call
which is already supposed to provides a clean state. Waiting
respectively 20 & 15 seconds after that call is just loosing time which
is precious at make check time.

Signed-off-by: Erwan Velu <erwan@redhat.com>
src/test/ceph_objectstore_tool.py