Thanks to visit codestin.com
Credit goes to github.com

Skip to content

squid: qa: fix TypeError in delay#67618

Open
joscollin wants to merge 1 commit intoceph:squidfrom
joscollin:wip-75265-squid
Open

squid: qa: fix TypeError in delay#67618
joscollin wants to merge 1 commit intoceph:squidfrom
joscollin:wip-75265-squid

Conversation

@joscollin
Copy link
Member

backport tracker: https://tracker.ceph.com/issues/75265


backport of #67476
parent tracker: https://tracker.ceph.com/issues/75090

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

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 <[email protected]>
(cherry picked from commit 027400d)
@joscollin joscollin added this to the squid milestone Mar 3, 2026
@joscollin joscollin added the tests label Mar 3, 2026
@github-actions github-actions bot added the cephfs Ceph File System label Mar 3, 2026
@joscollin
Copy link
Member Author

jenkins test api

1 similar comment
@joscollin
Copy link
Member Author

jenkins test api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant