]> 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:40:37 +0000 (14:40 -0400)
commite1dd35f6d6698f85f18daf73ef2b01b3dd8ba067
tree96d2c96247520abea1ae497d906fc3dbb457605a
parent8f0b0d128507f11087f808a6ca737d829dbc75b0
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