]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix tasks.mgr.dashboard.test_rbd.RbdTest.test_move_image_to_trash... 36563/head
authorKiefer Chang <kiefer.chang@suse.com>
Mon, 3 Aug 2020 05:42:18 +0000 (13:42 +0800)
committerTatjana Dehler <tdehler@suse.com>
Tue, 11 Aug 2020 09:46:36 +0000 (11:46 +0200)
commit2c7095e778be92f0aba5f67617f4543b9663b32e
treeb217e5e3f5fda8bf9710fcd76e66536ec9fe37d8
parenta2c6ab9afe985d57521e70583acd97fccdfa8fb1
mgr/dashboard: fix tasks.mgr.dashboard.test_rbd.RbdTest.test_move_image_to_trash error

The API call is a task and the response status is determined by whether
the call is completed within a pre-defined duration (2 seconds) or not.
We should also allow the status when the call takes longer.

Fixes: https://tracker.ceph.com/issues/46812
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit d208d67f9fc92873ba9d63190d7e5f5c202395a8)
qa/tasks/mgr/dashboard/test_rbd.py