]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
suite/util: list_lock() once for get_arch()
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Tue, 6 Aug 2024 22:54:00 +0000 (00:54 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Tue, 6 Aug 2024 23:50:21 +0000 (01:50 +0200)
commit5836ffe2db39fa0ae6c6f89387150336fdd1399e
tree9cd22849d944ab2b5c6dd85ed6ce2adde2bb4665
parent7f1968cfbd039af68c899aafe32862633902b251
suite/util: list_lock() once for get_arch()

We only want to try to list_locks() for getting arch by
machine_type when scheduling a suite. Otherwise we've
got into an infinite loop and console log flooded
with useless error messages.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/suite/test/test_util.py
teuthology/suite/util.py