Kegan Dougal
|
c7dd361ca6
|
Use atomic.Bool rather than bool in tests to fix race detector issues
|
2024-03-11 10:22:18 +00:00 |
|
David Robertson
|
e872b18fe6
|
New test cases
|
2023-11-03 15:39:47 +00:00 |
|
David Robertson
|
81f06d1591
|
Update existing test cases
|
2023-11-03 15:39:23 +00:00 |
|
David Robertson
|
507b2622b9
|
Assert we fetch the correct prev batch
|
2023-09-20 13:56:03 +01:00 |
|
David Robertson
|
4da081374c
|
Integration test
|
2023-09-19 16:39:55 +01:00 |
|
David Robertson
|
d3ba1f1c30
|
Move TimelineResponse back to sync2
|
2023-09-19 12:41:25 +01:00 |
|
David Robertson
|
957bdee9d2
|
Merge branch 'main' into dmr/invalidate-timelines
|
2023-09-19 12:40:13 +01:00 |
|
Kegan Dougal
|
17beb00389
|
Add regression test
|
2023-09-14 16:48:26 +01:00 |
|
David Robertson
|
df01e50438
|
Pass TimelineResponse struct around
|
2023-09-13 19:17:53 +01:00 |
|
David Robertson
|
70030ec4fb
|
Tweak test assertions
|
2023-09-06 12:09:27 +01:00 |
|
David Robertson
|
7914980449
|
log the naughty response body
|
2023-09-05 19:27:44 +01:00 |
|
David Robertson
|
cd9f68e54a
|
Tweak logging
|
2023-09-05 19:25:25 +01:00 |
|
David Robertson
|
b9ca1ba5ee
|
Make the test fail
|
2023-09-05 19:24:07 +01:00 |
|
David Robertson
|
eb4c152952
|
Don't faff about with waiting
|
2023-09-05 19:22:03 +01:00 |
|
David Robertson
|
e67a945a5e
|
Attempt to reproduce problem
|
2023-09-05 18:41:55 +01:00 |
|
David Robertson
|
e152ce9ae7
|
Make checkRequest only accept a token
After all, we're only going to make a request using a token.
|
2023-09-05 18:16:23 +01:00 |
|
David Robertson
|
8e9bb4f842
|
Make checkRequest private
to encourage you to use the setter, which grabs the mutex
|
2023-09-05 18:16:23 +01:00 |
|
Kegan Dougal
|
d3285a39f1
|
Always ensure integ tests send a timeline event when sending state
|
2023-08-22 16:10:52 +01:00 |
|
David Robertson
|
ff9063182f
|
Polish off integration test
|
2023-08-15 11:56:52 +01:00 |
|
David Robertson
|
00a9e31ed1
|
Integration test
|
2023-08-10 13:11:58 +01:00 |
|
David Robertson
|
9982ab24ee
|
Use different device names for each test
|
2023-05-15 19:14:09 +01:00 |
|
David Robertson
|
38aa6b0471
|
Test tweaks
|
2023-04-28 18:50:43 +01:00 |
|
David Robertson
|
212dc34d78
|
Deflake gappy state integration test
|
2023-04-27 15:42:35 +01:00 |
|
David Robertson
|
3274cf2daf
|
typo
Co-authored-by: kegsay <kegan@matrix.org>
|
2023-04-24 17:43:49 +01:00 |
|
David Robertson
|
82d1d587b9
|
Update integration test
|
2023-04-24 13:03:21 +01:00 |
|
David Robertson
|
6e7d0cbee4
|
Test memberships are updated after gappy sync
|
2023-04-19 18:02:01 +01:00 |
|
David Robertson
|
168095232c
|
Tidyup unit test
|
2023-04-19 17:27:38 +01:00 |
|
David Robertson
|
b54ba7c01e
|
Poller test description
|
2023-04-19 13:10:15 +01:00 |
|
David Robertson
|
c19b5611c3
|
Merge branch 'dmr/dont-select-after-insert-returning' into dmr/gappy-state
|
2023-04-17 17:58:13 +01:00 |
|
David Robertson
|
46059df3ed
|
WIP: update test cases
|
2023-04-14 20:22:51 +01:00 |
|
David Robertson
|
2bdb88fffe
|
Update test expectations
|
2023-04-14 18:05:21 +01:00 |
|
David Robertson
|
8ca1223c18
|
Explicitly spell out poller test expectations
I found it hard to follow the logic with the returns mixed into the
control flow.
|
2023-04-14 17:55:50 +01:00 |
|
David Robertson
|
38c1bda277
|
Integration test
|
2023-04-13 19:36:37 +01:00 |
|
David Robertson
|
0de818a796
|
s/Enabled/Core/g
|
2023-03-28 13:53:57 +01:00 |
|
Kegan Dougal
|
05ddb6812b
|
extensions refactor: automatically handle the enabled flag
Part of a series of refactors on the extensions code.
|
2023-02-08 11:30:54 +00:00 |
|
Kegan Dougal
|
48f28f9f6c
|
perf: filter out all rooms when doing an initial sync on 2nd+ pollers
Fixes #17 in theory, as now the initial sync request will have no
rooms and hence be faster to return. In theory. Maybe. Let's see.
|
2023-01-05 18:25:25 +00:00 |
|