[pve-devel] applied: [PATCH qemu-server] test: migrate: correctly mock storage module

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Feb 8 16:26:05 CET 2021


On 08.02.21 15:26, Fabian Ebner wrote:
> by fixing a typo. Since cfs_read_file within the storage module was not mocked,
> the tests could fail on some setups. Now that get_bandwidth_limit is mocked,
> cfs_read_file is not called anymore, but still mock it too for good measure and
> to make it more future-proof.
> 
> Reported-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  test/MigrationTest/Shared.pm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list