]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorTestNew: Call qemuMonitorOpen with 'retry' false
authorPeter Krempa <pkrempa@redhat.com>
Tue, 2 Aug 2022 11:54:35 +0000 (13:54 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Aug 2022 12:26:56 +0000 (14:26 +0200)
commit7c849ad51898f4d94f33577eb0bf60beb11bf290
treef49dd171bf80360e76ff4b2ee921c6a906a1d3c1
parentdce90474960366e33fcb107a86795b2364bdebba
qemuMonitorTestNew: Call qemuMonitorOpen with 'retry' false

The 'retry' argument makes the monitor connection opening re-try the
connection in case the monitor socket doesn't exist or isn't properly
listening. In case of the test code this can't happen because the socket
is created and made listening in 'qemuMonitorCommonTestNew' which is
called prior to calling 'qemuMonitorOpen'.

We can thus avoit the code which attempts retries in monitor connection.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
tests/qemumonitortestutils.c