mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Try fix unit tests
This commit is contained in:
parent
fe7acc63fa
commit
6fd8459447
2 changed files with 9 additions and 1 deletions
|
@ -367,7 +367,7 @@ func newTestSyncRequest(userID, deviceID string, since types.StreamingToken) typ
|
|||
Timeout: 1 * time.Minute,
|
||||
Since: since,
|
||||
WantFullState: false,
|
||||
Limit: 20,
|
||||
Filter: gomatrixserverlib.DefaultFilter(),
|
||||
Log: util.GetLogger(context.TODO()),
|
||||
Context: context.TODO(),
|
||||
}
|
||||
|
|
|
@ -142,6 +142,14 @@ func (p *PDUStreamProvider) IncrementalSync(
|
|||
}
|
||||
}
|
||||
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"stateFilter": fmt.Sprintf("%+v", stateFilter),
|
||||
"from": from,
|
||||
"to": to,
|
||||
"req.WantFullState": req.WantFullState,
|
||||
"stateDeltas": stateDeltas,
|
||||
}).Info("IncrementalSync")
|
||||
|
||||
for _, roomID := range joinedRooms {
|
||||
req.Rooms[roomID] = gomatrixserverlib.Join
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue