def METHOD_NAME():
    p_client = namespace["p_client"]
    ns = namespace["ns"]
    pvc_name = namespace["pvc"].name
    wl_name = sub_path = random_test_name("deployment")
    content = "from-test-wl-deployment"
    file_path = MOUNT_PATH + "/wl-deployment.txt"
    # deploy the first workload
    wl = create_wl_with_nfs(p_client, ns.id, pvc_name, wl_name,
                            mount_path=MOUNT_PATH, sub_path=sub_path)
    validate_workload(p_client, wl, "deployment", ns.name)
    # check if it can write data
    pods = p_client.list_pod(workloadId=wl.id).data
    assert len(pods) == 1
    pod = pods[0]
    write_content_to_file(pod, content, file_path)
    validate_file_content(pod, content, file_path)
    # delete the workload
    p_client.delete(wl)
    # deploy second workload for testing
    wl2 = create_wl_with_nfs(p_client, ns.id, pvc_name, "deployment-wl2",
                             mount_path=MOUNT_PATH, sub_path=sub_path)
    validate_workload(p_client, wl2, "deployment", ns.name)
    # check if it can read existing data
    pods.clear()
    pods = p_client.list_pod(workloadId=wl2.id).data
    assert len(pods) == 1
    pod = pods[0]
    validate_file_content(pod, content, file_path)