Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Test that /messages works on remote homeserver and can be backfilled properly after many batches (MSC2716) #214

Closed
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8099f47
Test that /messages can be backfilled properly after many batches
MadLittleMods Oct 19, 2021
094c5f7
Add message suffix to better distinguish messages
MadLittleMods Oct 21, 2021
e30bcd4
v4 room version
MadLittleMods Oct 30, 2021
1e333d6
Make sure marker event is sent
MadLittleMods Nov 3, 2021
2022b31
Cleanup tests
MadLittleMods Nov 3, 2021
d325349
Some test cleanup and comments
MadLittleMods Nov 3, 2021
2fe5180
Delays not needed for test servers (get result ASAP)
MadLittleMods Nov 11, 2021
0604564
Fix typo
MadLittleMods Nov 11, 2021
83adbe2
Merge branch 'master' into madlittlemods/test-backfill-and-messages-s…
MadLittleMods Nov 11, 2021
4aba836
Fix missing params after merge
MadLittleMods Nov 11, 2021
ffbca43
Make sure historical state doesn't appear between batches
MadLittleMods Dec 2, 2021
37109fa
Re-use JSONArrayEach
MadLittleMods Dec 2, 2021
cc7236b
Merge branch 'master' into madlittlemods/test-backfill-and-messages-s…
MadLittleMods Dec 17, 2021
4c8284a
v4 was never merged
MadLittleMods Dec 17, 2021
9b90429
Merge branch 'master' into madlittlemods/test-backfill-and-messages-s…
MadLittleMods Dec 17, 2021
677836b
Merge branch 'master' into madlittlemods/test-backfill-and-messages-s…
MadLittleMods Jan 13, 2022
85eb7bd
Merge branch 'main' into madlittlemods/test-backfill-and-messages-sti…
MadLittleMods Mar 30, 2022
3532821
Merge branch 'main' into madlittlemods/test-backfill-and-messages-sti…
MadLittleMods May 13, 2022
1667e15
Merge branch 'main' into madlittlemods/test-backfill-and-messages-sti…
MadLittleMods Aug 10, 2022
0589546
Merge branch 'main' into madlittlemods/test-backfill-and-messages-sti…
MadLittleMods Sep 20, 2022
606197a
Update test name
MadLittleMods Sep 21, 2022
d679384
Changes and debugging
MadLittleMods Sep 29, 2022
230c46e
Mulitply timeout by the number of requests we expect
MadLittleMods Sep 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func (c *CSAPI) DoFunc(t *testing.T, method string, paths []string, opts ...Requ
}
// debug log the request
if c.Debug {
t.Logf("Making %s request to %s", method, reqURL)
t.Logf("Making %s request to %s", method, req.URL)
kegsay marked this conversation as resolved.
Show resolved Hide resolved
contentType := req.Header.Get("Content-Type")
if contentType == "application/json" || strings.HasPrefix(contentType, "text/") {
if req.Body != nil {
Expand Down
Loading