old_contents: import logging
  import os
  
  TESTING = True
  
  ES_INDEX = 'labonneboite_unit_test'
  
  DB_HOST = os.environ.get('DB_HOST', '127.0.0.1')
  DB_PORT = int(os.environ.get('DB_PORT', 3307))
  DB_NAME = os.environ.get('DB_NAME', 'lbb_test')
  DB_USER = os.environ.get('DB_USER', 'lbb_test')
  DB_PASSWORD = os.environ.get('DB_PASSWORD', '')
  REDIS_HOST = 'incorrecthost'
  
  LOG_LEVEL_USER_ACTIVITY = logging.ERROR
  
  ENABLE_TIMEIT_TIMERS = False
  API_KEYS = {
      'labonneboite': 'dummykey',
      'emploi_store_dev': 'anotherdummykey',
  }
  
  API_ADRESSE_BASE_URL = 'http://urlintrouvablepourlbb.fr'
  
  SENTRY_ENVIRONMENT = "test"
  WTF_CSRF_ENABLED = False
  
  TRAVEL_VENDOR_BACKENDS = {
      'isochrone': {
          'car': 'ign_mock',
          'public': 'navitia_mock',
      },
      'durations': {
          'car': 'ign_mock',
          'public': 'navitia_mock',
      },
  }
  
  PROCESS_ASYNC_TASKS = False
  
  # Dummy IP addresses for test only
  VERSION_PRO_ALLOWED_IPS = [
      '198.49.0.0/30',
      '198.49.23.144'
  ]
  
  VERSION_PRO_ALLOWED_EMAIL_SUFFIXES = ['@pole-emploi.fr']
  
new_contents: import logging
  import os
  
  TESTING = True
  
  ES_INDEX = 'labonneboite_unit_test'
  ES_TIMEOUT = int(os.environ.get('ES_TIMEOUT', 60)) or None
  
  DB_HOST = os.environ.get('DB_HOST', '127.0.0.1')
  DB_PORT = int(os.environ.get('DB_PORT', 3307))
  DB_NAME = os.environ.get('DB_NAME', 'lbb_test')
  DB_USER = os.environ.get('DB_USER', 'lbb_test')
  DB_PASSWORD = os.environ.get('DB_PASSWORD', '')
  REDIS_HOST = 'incorrecthost'
  
  LOG_LEVEL_USER_ACTIVITY = logging.ERROR
  
  ENABLE_TIMEIT_TIMERS = False
  API_KEYS = {
      'labonneboite': 'dummykey',
      'emploi_store_dev': 'anotherdummykey',
  }
  
  API_ADRESSE_BASE_URL = 'http://urlintrouvablepourlbb.fr'
  
  SENTRY_ENVIRONMENT = "test"
  WTF_CSRF_ENABLED = False
  
  TRAVEL_VENDOR_BACKENDS = {
      'isochrone': {
          'car': 'ign_mock',
          'public': 'navitia_mock',
      },
      'durations': {
          'car': 'ign_mock',
          'public': 'navitia_mock',
      },
  }
  
  PROCESS_ASYNC_TASKS = False
  
  # Dummy IP addresses for test only
  VERSION_PRO_ALLOWED_IPS = [
      '198.49.0.0/30',
      '198.49.23.144'
  ]
  
  VERSION_PRO_ALLOWED_EMAIL_SUFFIXES = ['@pole-emploi.fr']
  
subject: Increase ES timeout to fix travis flaky test ``` ====================================================================== ERROR: test_autocomplete_happy_path (labonneboite.tests.web.front.test_autocomplete.AutocompleteJobLabels) ---------------------------------------------------------------------- (...) Traceback (most recent call last): File "/home/travis/build/StartupsPoleEmploi/labonneboite/labonneboite/tests/web/front/test_autocomplete.py", line 77, in setUp script.create_job_codes() File "/home/travis/build/StartupsPoleEmploi/labonneboite/labonneboite/common/util.py", line 23, in wrap result = func(*args, **kw) File "/home/travis/build/StartupsPoleEmploi/labonneboite/labonneboite/scripts/create_index.py", line 205, in create_job_codes bulk_actions(actions) File "/home/travis/build/StartupsPoleEmploi/labonneboite/labonneboite/scripts/create_index.py", line 172, in bulk_actions bulk(es.new_elasticsearch_instance(), actions, chunk_size=ES_BULK_CHUNK_SIZE) (...) elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10)) ```