'Initialize an instance of InfluxDbInstance.'

def __init__(self, conf_template, udp_enabled=False):

    if (os.environ.get(u'INFLUXDB_PYTHON_SKIP_SERVER_TESTS', None) == u'True'):
        raise unittest.SkipTest(u'Skipping    server    test    (INFLUXDB_PYTHON_SKIP_SERVER_TESTS)')
    self.influxd_path = self.find_influxd_path()
    errors = 0
    while True:
        try:
            self._start_server(conf_template, udp_enabled)
            break
        except RuntimeError as e:
            errors += 1
            if (errors > 2):
                raise e
