]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix tasks.mgr.dashboard.test_rbd.RbdTest.test_move_image_to_trash... 36423/head
authorKiefer Chang <kiefer.chang@suse.com>
Mon, 3 Aug 2020 05:42:18 +0000 (13:42 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Tue, 4 Aug 2020 02:12:14 +0000 (10:12 +0800)
commitd208d67f9fc92873ba9d63190d7e5f5c202395a8
tree05534aece29702bdea883927e34f0609c0d3debb
parent9e01fcac9124823fc2a206328566f5a6cc8d609d
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>
qa/tasks/mgr/dashboard/test_rbd.py