]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix issue in test: delay lower than expected 37697/head
authorPatrick Seidensal <pseidensal@suse.com>
Mon, 14 Sep 2020 12:32:10 +0000 (14:32 +0200)
committerTatjana Dehler <tdehler@suse.com>
Mon, 19 Oct 2020 10:36:49 +0000 (12:36 +0200)
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit 746bac29afd915bb85279234c665d38c807ef2b7)

src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts

index f4f293dfeb2edf06ce93b33202870606d7d1bd98..6d336ecac9044bcfb040b272a0a86282e22c54cd 100644 (file)
@@ -89,7 +89,7 @@ describe('RbdTrashMoveModalComponent', () => {
       component.moveImage();
       const req = httpTesting.expectOne('api/block/image/foo%2Fbar/move_trash');
       req.flush(null);
-      expect(req.request.body.delay).toBeGreaterThan(86390);
+      expect(req.request.body.delay).toBeGreaterThan(76390);
     });
   });
 });