def METHOD_NAME(wait_for_healthchecks):
    datajob_urn = _make_test_datajob_urn()
    other_dataset_urn = make_dataset_urn(
        platform="hive", name=f"SampleHiveDataset2-{uuid.uuid4()}", env="PROD"
    )
    patch_dataset_urn = make_dataset_urn(
        platform="hive", name=f"SampleHiveDataset3-{uuid.uuid4()}", env="PROD"
    )
    inputoutput_lineage = DataJobInputOutputClass(
        inputDatasets=[],
        outputDatasets=[],
        inputDatasetEdges=[EdgeClass(destinationUrn=other_dataset_urn)],
    )
    dataset_input_lineage_to_add = EdgeClass(destinationUrn=patch_dataset_urn)
    mcpw = MetadataChangeProposalWrapper(
        entityUrn=datajob_urn, aspect=inputoutput_lineage
    )
    with DataHubGraph(DataHubGraphConfig()) as graph:
        graph.emit_mcp(mcpw)
        inputoutput_lineage_read: DataJobInputOutputClass = graph.get_aspect(
            entity_urn=datajob_urn,
            aspect_type=DataJobInputOutputClass,
        )
        assert (
            inputoutput_lineage_read.inputDatasetEdges[0].destinationUrn
            == other_dataset_urn
        )
        for patch_mcp in (
            DataJobPatchBuilder(datajob_urn)
            .add_input_dataset(dataset_input_lineage_to_add)
            .build()
        ):
            graph.emit_mcp(patch_mcp)
            pass
        inputoutput_lineage_read = graph.get_aspect(
            entity_urn=datajob_urn,
            aspect_type=DataJobInputOutputClass,
        )
        assert len(inputoutput_lineage_read.inputDatasetEdges) == 2
        assert (
            inputoutput_lineage_read.inputDatasetEdges[0].destinationUrn
            == other_dataset_urn
        )
        assert (
            inputoutput_lineage_read.inputDatasetEdges[1].destinationUrn
            == patch_dataset_urn
        )
        for patch_mcp in (
            DataJobPatchBuilder(datajob_urn)
            .remove_input_dataset(patch_dataset_urn)
            .build()
        ):
            graph.emit_mcp(patch_mcp)
            pass
        inputoutput_lineage_read = graph.get_aspect(
            entity_urn=datajob_urn,
            aspect_type=DataJobInputOutputClass,
        )
        assert len(inputoutput_lineage_read.inputDatasetEdges) == 1
        assert (
            inputoutput_lineage_read.inputDatasetEdges[0].destinationUrn
            == other_dataset_urn
        )