Support running the integration tests on an already running cluster

This commit is contained in:
Honza Kral
2013-07-12 18:08:51 +02:00
parent 66561136c2
commit 95f42df6db
2 changed files with 14 additions and 7 deletions
@@ -34,7 +34,7 @@ class YamlTestCase(TestCase):
return ES_VERSION
def setUp(self):
self.client = Elasticsearch(['localhost:9900'])
self.client = Elasticsearch([environ['TEST_ES_SERVER']])
self.last_response = None
self._state = {}