[libvirt] [PATCH v2 05/29] tests: qemuxml2xml: Use virdeterministichashmock.so

Peter Krempa posted 29 patches 6 years, 10 months ago
[libvirt] [PATCH v2 05/29] tests: qemuxml2xml: Use virdeterministichashmock.so
Posted by Peter Krempa 6 years, 10 months ago
Block job related data will be stored in a has table and formatted into
the status XML. Use the mock to guarantee stable tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 tests/qemuxml2xmltest.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 83a0d1cf7b..408d20a92a 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -1305,7 +1305,8 @@ mymain(void)

 VIR_TEST_MAIN_PRELOAD(mymain,
                       abs_builddir "/.libs/virpcimock.so",
-                      abs_builddir "/.libs/virrandommock.so")
+                      abs_builddir "/.libs/virrandommock.so",
+                      abs_builddir "/.libs/virdeterministichashmock.so")

 #else

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 05/29] tests: qemuxml2xml: Use virdeterministichashmock.so
Posted by Ján Tomko 6 years, 10 months ago
On Fri, Mar 22, 2019 at 07:00:41PM +0100, Peter Krempa wrote:
>Block job related data will be stored in a has table and formatted into
>the status XML. Use the mock to guarantee stable tests.
>
>Signed-off-by: Peter Krempa <pkrempa@redhat.com>
>---
> tests/qemuxml2xmltest.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list