]> 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 17:50:20 +0000 (13:50 -0400)
commitf01ae82eeccb1c3ebc97a84b0d8a547f360741d3
tree7a1b1f79aaef4320f6fd3af6546e55058fe341df
parent2630f8d47a790d3b0c02da6e8fcbb01649e354fd
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>
tests/functional/tests/rgw/test_rgw_tuning.py