Ejemplo n.º 1
0
def test_csi_mount_with_backing_image(client, core_api, csi_pv_backingimage, pvc_backingimage, pod_make):  # 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)
        csi_mount_test(client, core_api,
                       csi_pv_backingimage, pvc_backingimage, pod_make,
                       BACKING_IMAGE_EXT4_SIZE, BACKING_IMAGE_NAME)
        cleanup_all_volumes(client)
        cleanup_all_backing_images(client)
Ejemplo n.º 2
0
def test_csi_mount_with_base_image(client, core_api, csi_pv_baseimage, pvc_baseimage, pod_make):  # NOQA
    csi_mount_test(client, core_api, csi_pv_baseimage, pvc_baseimage, pod_make,
                   BASE_IMAGE_EXT4_SIZE, BASE_IMAGE_EXT4)
Ejemplo n.º 3
0
def test_csi_mount_with_base_image(client, core_api, csi_pv_baseimage, pvc_baseimage, pod_make):  # NOQA
    csi_mount_test(client, core_api, csi_pv_baseimage, pvc_baseimage, pod_make,
                   BASE_IMAGE_EXT4_SIZE, BASE_IMAGE_EXT4)