Ejemplo n.º 1
0
def test_backup_with_backing_image(client, volume_name):  # NOQA
    for bi_url in (BACKING_IMAGE_QCOW2_URL, BACKING_IMAGE_RAW_URL):
        create_backing_image_with_matching_url(
            client, BACKING_IMAGE_NAME, bi_url)
        backup_test(client, volume_name, str(BACKING_IMAGE_EXT4_SIZE),
                    BACKING_IMAGE_NAME)
        cleanup_all_volumes(client)
        cleanup_all_backing_images(client)
Ejemplo n.º 2
0
def test_backup_with_base_image(clients, volume_name):  # NOQA
    backup_test(clients, volume_name, str(BASE_IMAGE_EXT4_SIZE),
                BASE_IMAGE_EXT4)
Ejemplo n.º 3
0
def test_backup_with_base_image(clients, volume_name):  # NOQA
    backup_test(clients, volume_name, str(BASE_IMAGE_EXT4_SIZE),
                BASE_IMAGE_EXT4)