X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fqa%2Ftasks%2Fqemu.py;h=7a1abe8f5e9a8189b115332c3fcccb6d52654f77;hb=94b1876350060563a6ac95339df15f95fd3ebadc;hp=82252e1e91c273267207b113fc4725db97b701b4;hpb=4832b6f0acade977670a37c20ff5dbe69e727416;p=ceph.git diff --git a/ceph/qa/tasks/qemu.py b/ceph/qa/tasks/qemu.py index 82252e1e9..7a1abe8f5 100644 --- a/ceph/qa/tasks/qemu.py +++ b/ceph/qa/tasks/qemu.py @@ -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()