Skip to content

Commit

Permalink
Request enough timeline events for create test with version
Browse files Browse the repository at this point in the history
  • Loading branch information
hifi committed Oct 10, 2023
1 parent b29a7f7 commit 7e16779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/csapi/apidoc_room_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func TestRoomCreate(t *testing.T) {
})

// Wait until user has joined the room
alice.MustSyncUntil(t, client.SyncReq{}, client.SyncJoinedTo(alice.UserID, roomID))
alice.MustSyncUntil(t, client.SyncReq{Filter: `{"room":{"timeline":{"limit":10}}}`}, client.SyncJoinedTo(alice.UserID, roomID))

// Get ordered timeline via a full sync
res, _ := alice.MustSync(t, client.SyncReq{})
Expand Down

0 comments on commit 7e16779

Please sign in to comment.