Skip to content

Commit

Permalink
fix test_config_params build err
Browse files Browse the repository at this point in the history
  • Loading branch information
Acey9 authored and georgepsarakis committed Apr 11, 2017
1 parent d3ec0ee commit 455a119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/unit/backends/test_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def test_config_params(self):
self.app.conf.elasticsearch_timeout = 20.0
self.app.conf.elasticsearch_retry_on_timeout = True

self.backend = ElasticsearchBackend(app=self.app)

assert self.backend.es_max_retries == 10
assert self.backend.es_timeout == 20.0
assert self.backend.es_retry_on_timeout is True

0 comments on commit 455a119

Please sign in to comment.