]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests/rgw: add timeout 5s to radosgw-admin command
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 10 Aug 2021 15:57:01 +0000 (11:57 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 27 Aug 2021 18:32:56 +0000 (14:32 -0400)
commit0186819855301ca1026b6acf867a8b70da110a87
tree7ca71adfee5e4a2a9616b1b3fb2fd989f4c4f9e8
parentac5353a2d8cf19e39e119b0398f869c8b2a1c097
tests/rgw: add timeout 5s to radosgw-admin command

If the radosgw daemons aren't up and running correctly (like not registered
in the servicemap or the OSD are down) then the radosgw-admin will hang
forever.
Jenkins will kill the jobs after 3h but we don't want to wait until this global
timeout.
Adding the timeout 5 command to the radosgw-admin commands (which is already
present on other ceph calls) allows the job to fail earlier.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit f01ae82eeccb1c3ebc97a84b0d8a547f360741d3)
tests/functional/tests/rgw/test_rgw_tuning.py