Add more integration testing

This commit is contained in:
Brendan Abolivier 2019-10-30 17:28:41 +00:00
parent 395683add1
commit fe51d6cacf
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD
2 changed files with 40 additions and 7 deletions

View file

@ -872,7 +872,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
args.append(int(limit))
sql = (
"SELECT event_id, topological_ordering, stream_ordering"
"SELECT DISTINCT event_id, topological_ordering, stream_ordering"
" FROM events"
" LEFT JOIN event_labels USING (event_id)"
" WHERE outlier = ? AND room_id = ? AND %(bounds)s"