Re: [PATCH v5 13/18] qemuxmlconftest: Add 'throttlefilter' tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 18, 2024 at 19:24:21 +0530, Harikumar R wrote:
> From: Chun Feng Wu <danielwuwy@xxxxxxx>
> 
> Test domain xml and status xml
> 
> * Add tests for "throttlegroup" domain xml processing, including
>   groups referenced and not referenced by filters
> * Add tests for "throttlefilter" domain xml processing, including
>   throttle group referenced by different disks
> * Add negative test case to report error when iotune is configured
>   together with throttle filters
> * Add tests for throttlefilter nodename parse and format for statusxml
>   (disk/privateData/nodenames/nodename with type='throttle-filter')
> * Add iotune limited disk tests to make sure iotune refactory works
> 
> Signed-off-by: Chun Feng Wu <danielwuwy@xxxxxxx>
> ---

So you'll need to split this commit. The 'status XML' test should really
be in a separate commit.


>  .../throttlefilter-in.xml                     | 392 ++++++++++++++++++
>  .../throttlefilter-out.xml                    | 392 ++++++++++++++++++
>  tests/qemuxmlactivetest.c                     |   1 +
>  .../throttlefilter-invalid.x86_64-latest.err  |   1 +
>  .../throttlefilter-invalid.xml                |  89 ++++
>  .../throttlefilter.x86_64-latest.args         |  55 +++
>  .../throttlefilter.x86_64-latest.xml          | 105 +++++
>  tests/qemuxmlconfdata/throttlefilter.xml      |  95 +++++
>  tests/qemuxmlconftest.c                       |   2 +
>  9 files changed, 1132 insertions(+)
>  create mode 100644 tests/qemustatusxml2xmldata/throttlefilter-in.xml
>  create mode 100644 tests/qemustatusxml2xmldata/throttlefilter-out.xml
>  create mode 100644 tests/qemuxmlconfdata/throttlefilter-invalid.x86_64-latest.err
>  create mode 100644 tests/qemuxmlconfdata/throttlefilter-invalid.xml
>  create mode 100644 tests/qemuxmlconfdata/throttlefilter.x86_64-latest.args
>  create mode 100644 tests/qemuxmlconfdata/throttlefilter.x86_64-latest.xml
>  create mode 100644 tests/qemuxmlconfdata/throttlefilter.xml

The tests themselves look good; so after you deal with properly adding
the missing line which was breaking the test you can use:

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>

for both.



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux