def METHOD_NAME(self):
    if self.service.splunk_version >= (5,):
        self.assertTrue(self.index_name in self.service.indexes)
        time.sleep(5)
        self.service.indexes.delete(self.index_name)
        self.assertEventuallyTrue(lambda: self.index_name not in self.service.indexes)