]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: fix TypeError in delay 67617/head
authorJos Collin <jcollin@redhat.com>
Tue, 24 Feb 2026 02:03:13 +0000 (07:33 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 3 Mar 2026 00:37:55 +0000 (06:07 +0530)
commit9e84ee8eb722504488d8425f9578bdf421946a7f
treea0db83bd055d73a2a69792904813015d623562af
parentf7b1ebb734adfb2597e18f579660e02cd19ded7f
qa: fix TypeError in delay

random.randrange() asserts TypeError for arguments of type 'float'.
So use random.uniform() to fix this.

Fixes: https://tracker.ceph.com/issues/75090
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 027400df81aa3bff0def422acfa43eff5f6e08c0)
qa/tasks/cephfs_mirror_thrash.py
qa/tasks/mds_thrash.py