mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #21131 from trociny/wip-23502
qa/suites/rbd: set qemu task time_wait param Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
4e36277bd3
@ -9,5 +9,6 @@ io_workload:
|
||||
clone: true
|
||||
type: block
|
||||
disks: 3
|
||||
time_wait: 120
|
||||
test: http://git.ceph.com/?p={repo};a=blob_plain;hb={branch};f=qa/run_xfstests_qemu.sh
|
||||
exclude_arch: armv7l
|
||||
|
@ -7,6 +7,7 @@ import contextlib
|
||||
import logging
|
||||
import os
|
||||
import yaml
|
||||
import time
|
||||
|
||||
from teuthology import misc as teuthology
|
||||
from teuthology import contextutil
|
||||
@ -407,6 +408,7 @@ def run_qemu(ctx, config):
|
||||
cachemode=cachemode,
|
||||
),
|
||||
])
|
||||
time_wait = client_config.get('time_wait', 0)
|
||||
|
||||
log.info('starting qemu...')
|
||||
procs.append(
|
||||
@ -424,6 +426,11 @@ def run_qemu(ctx, config):
|
||||
log.info('waiting for qemu tests to finish...')
|
||||
run.wait(procs)
|
||||
|
||||
if time_wait > 0:
|
||||
log.debug('waiting {time_wait} sec for workloads detect finish...'.format(
|
||||
time_wait=time_wait));
|
||||
time.sleep(time_wait)
|
||||
|
||||
log.debug('checking that qemu tests succeeded...')
|
||||
for client in config.iterkeys():
|
||||
(remote,) = ctx.cluster.only(client).remotes.keys()
|
||||
|
Loading…
Reference in New Issue
Block a user