]> git.proxmox.com Git - qemu-server.git/commit
tests: mock storage locking for migration tests
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 11 Jan 2021 12:34:09 +0000 (13:34 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Jan 2021 10:56:55 +0000 (11:56 +0100)
commitc97a9c6ed8adca15899532437a1ab74d0132de9e
tree70d176bd5e460dd9a807b608b83633f6caa0bf5f
parent0a4aff09bd94468123d843d87be8b55387513cbe
tests: mock storage locking for migration tests

by doing it in a local directory instead of /var/lock/pve-manager, which is
used by the installed/non-test PVE code. This also covers the shared case,
which will become relevant after fixing #3229 (currently migration doesn't
touch disks on shared storages).

Reported-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
test/MigrationTest/Shared.pm