def METHOD_NAME(self, client, batch_client, doc_count):
    batch_client._batch_action_count = 2
    # merge to one existing and one missing
    docs = [{"hotelId": "1003", "rating": 1}, {"hotelId": "1", "rating": 2}]
    batch_client.merge_or_upload_documents(docs)
    doc_count += 1
    # There can be some lag before a document is searchable
    if self.is_live:
        time.sleep(TIME_TO_SLEEP)
    assert client.get_document_count() == doc_count
    result = client.get_document(key="1003")
    assert result["rating"] == 1
    result = client.get_document(key="1")
    assert result["rating"] == 2
    return doc_count