OSDN Git Service

iotests/qsd-jobs: Filter events in the first test
authorMax Reitz <mreitz@redhat.com>
Thu, 1 Apr 2021 13:28:39 +0000 (15:28 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Apr 2021 16:00:29 +0000 (18:00 +0200)
commit66f18320f751f9649e0f230e814dd556e38bc1fe
tree1e9f2ea2711fc7cd669691ea75a719caa06e1671
parentb084b420d9d6347dede328fbcf18c8e4c695f7e8
iotests/qsd-jobs: Filter events in the first test

The job may or may not be ready before the 'quit' is issued.  Whether it
is is irrelevant; for the purpose of the test, it only needs to still be
there.  Filter the job status change and READY events from the output so
it becomes reliable.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210401132839.139939-1-mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/qsd-jobs
tests/qemu-iotests/tests/qsd-jobs.out