]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephadm: add test for cephadm asyncio based timeout
authorAdam King <adking@redhat.com>
Sat, 4 Nov 2023 22:45:17 +0000 (18:45 -0400)
committerAdam King <adking@redhat.com>
Wed, 3 Jan 2024 13:40:47 +0000 (08:40 -0500)
commitefb69ee350d1c20bdbfc88db8a01ec88761bd99f
tree63d4a57859c055d0ff6bebcb305f1459291b0615
parent4df348c17ba0c72d2ecf08d3607b70b3ae253176
qa/cephadm: add test for cephadm asyncio based timeout

Adds a test that will set the default cephadm command
timeout and then force a timeout to occur by holding
the cephadm lock and triggering a device refresh.
This works because cephadm ceph-volume commands
require the cephadm lock to run, so the command will
timeout waiting for the lock to become available.

Signed-off-by: Adam King <adking@redhat.com>
qa/suites/orch/cephadm/workunits/task/test_cephadm_timeout.yaml [new file with mode: 0644]
qa/workunits/cephadm/test_cephadm_timeout.py [new file with mode: 0755]