Skip to content

Commit

Permalink
Add timestamps to test errors when replicating to ElasticSearch (closes
Browse files Browse the repository at this point in the history
  • Loading branch information
vmalloc committed Jan 3, 2019
1 parent 227314e commit b44b296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_app/tasks/replications.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def _get_tests_to_replicate_query(replica, bulk_size=200):
).label('test'),
select([func.array_agg(
func.json_build_object(
'timestamp', models.Error.timestamp,
'message', models.Error.message)
)]).where(models.Error.test_id == models.Test.id).label('errors'),
select([
Expand Down

0 comments on commit b44b296

Please sign in to comment.