def METHOD_NAME(self, kube_apis, crd_ingress_controller, virtual_server_setup):
    wait_before_test(1)
    text = f"{virtual_server_setup.namespace}/{virtual_server_setup.vs_name}"
    vs_event_text = f"Configuration for {text} was added or updated"
    events_vs = get_events(kube_apis.v1, virtual_server_setup.namespace)
    initial_count = assert_event_and_get_count(vs_event_text, events_vs)
    vs_src = f"{TEST_DATA}/virtual-server-canned-responses/virtual-server-updated.yaml"
    patch_virtual_server_from_yaml(
        kube_apis.custom_objects, virtual_server_setup.vs_name, vs_src, virtual_server_setup.namespace
    )
    wait_and_assert_status_code(501, virtual_server_setup.backend_1_url, virtual_server_setup.vs_host)
    resp = requests.get(virtual_server_setup.backend_1_url, headers={"host": virtual_server_setup.vs_host})
    resp_content = resp.content.decode("utf-8")
    assert resp.headers["content-type"] == "some/type" and resp_content == "{}"
    wait_and_assert_status_code(201, virtual_server_setup.backend_2_url, virtual_server_setup.vs_host)
    resp = requests.get(virtual_server_setup.backend_2_url, headers={"host": virtual_server_setup.vs_host})
    resp_content = resp.content.decode("utf-8")
    assert resp.headers["content-type"] == "user-type" and resp_content == "line1\nline2"
    vs_events = get_events(kube_apis.v1, virtual_server_setup.namespace)
    assert_event_count_increased(vs_event_text, initial_count, vs_events)