def METHOD_NAME(self):
    self.install_app_from_collection("file_to_upload")
    event_count = int(self.index['totalEventCount'])
    path = self.pathInApp("file_to_upload", ["log.txt"])
    self.index.upload(path)
    self.assertEventuallyTrue(lambda: self.totalEventCount() == event_count+4, timeout=60)