Permalink
Browse files

Fixes bug 988604 - Removed async replication mode in elasticsearch in…

…dexing.
  • Loading branch information...
adngdb committed Mar 26, 2014
1 parent 6493522 commit 3ac24eae30995ff2ec6fbc904cb351d419d0a5d1
@@ -167,7 +167,6 @@ def _submit_crash_to_elasticsearch(self, crash_id, crash_document):
es_doctype,
crash_document,
id=crash_id,
- replication='async'
)
except pyelasticsearch.exceptions.ConnectionError:
self.logger.critical('%s may not have been submitted to '
@@ -176,7 +176,6 @@ def test_success(self, pyes_mock):
)
expected_request_kwargs = {
'id': crash_id,
- 'replication': 'async',
}
mock_es.index.assert_called_with(
@@ -234,7 +233,6 @@ def test_failure_no_retry(self, pyes_mock):
expected_crash
)
expected_request_kwargs = {
- 'replication': 'async',
'id': crash_id,
}
@@ -297,7 +295,6 @@ def test_failure_limited_retry(self, pyes_mock):
expected_crash
)
expected_request_kwargs = {
- 'replication': 'async',
'id': crash_id,
}
@@ -367,7 +364,6 @@ def esindex_fn(*args, **kwargs):
expected_crash
)
expected_request_kwargs = {
- 'replication': 'async',
'id': crash_id,
}

0 comments on commit 3ac24ea

Please sign in to comment.