235 (9a363f0bcc65f5805396241d16973d0c62615162) | 235 (abf0bf998dcb20807195018bfdd7abca2930dbbd) |
---|---|
1#!/usr/bin/env python 2# 3# Simple mirror test 4# 5# Copyright (c) 2018 Virtuozzo International GmbH. All rights reserved. 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by --- 11 unchanged lines hidden (view full) --- 20 21import sys 22import os 23import iotests 24from iotests import qemu_img_create, qemu_io, file_path, log 25 26sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) 27 | 1#!/usr/bin/env python 2# 3# Simple mirror test 4# 5# Copyright (c) 2018 Virtuozzo International GmbH. All rights reserved. 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by --- 11 unchanged lines hidden (view full) --- 20 21import sys 22import os 23import iotests 24from iotests import qemu_img_create, qemu_io, file_path, log 25 26sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'python')) 27 |
28from qemu import QEMUMachine | 28from qemu.machine import QEMUMachine |
29 30# Note: 31# This test was added to check that mirror dead-lock was fixed (see previous 32# commit before this test addition). 33# And it didn't reproduce if at least one of the following: 34# 1. use small image size 35# 2. use raw format (not qcow2) 36# 3. drop kvm and use iotests.VM() (maybe, because of qtest) (however, it still --- 42 unchanged lines hidden --- | 29 30# Note: 31# This test was added to check that mirror dead-lock was fixed (see previous 32# commit before this test addition). 33# And it didn't reproduce if at least one of the following: 34# 1. use small image size 35# 2. use raw format (not qcow2) 36# 3. drop kvm and use iotests.VM() (maybe, because of qtest) (however, it still --- 42 unchanged lines hidden --- |