Dirk Klimpel
|
9d21ecf7ce
Add type hints to tests files. (#12256)
|
2 years ago |
Shay
|
ef3619e61d
Add config settings for background update parameters (#11980)
|
2 years ago |
Shay
|
26211fec24
Fix a bug in background updates wherein background updates are never run using the default batch size (#12157)
|
2 years ago |
Richard van der Hoff
|
e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031)
|
2 years ago |
V02460
|
7a7ca8f226
Use mock from standard library (#11588)
|
2 years ago |
Patrick Cloke
|
ed635d3285
Add a license header and comment. (#11479)
|
2 years ago |
Erik Johnston
|
d08ef6f155
Make background updates controllable via a plugin (#11306)
|
2 years ago |
Brendan Abolivier
|
7f9841bdec
Lower minumum batch size to 1 for background updates (#11422)
|
3 years ago |
Jonathan de Jong
|
93729719b8
Use inline type hints in `tests/` (#10350)
|
3 years ago |
Patrick Cloke
|
0b3112123d
Use mock from the stdlib. (#9772)
|
3 years ago |
Eric Eastwood
|
0a00b7ff14
Update black, and run auto formatting over the codebase (#9381)
|
3 years ago |
Patrick Cloke
|
e00816ad98
Do not yield on awaitables in tests. (#8193)
|
4 years ago |
Patrick Cloke
|
30426c7063
Convert additional database methods to async (select list, search, insert_many, delete_*) (#8168)
|
4 years ago |
Erik Johnston
|
a7bdf98d01
Rename database classes to make some sense (#8033)
|
4 years ago |
Richard van der Hoff
|
b4c2234232
Make do_next_background_update return a bool
|
4 years ago |
Richard van der Hoff
|
26d17b9bdc
Make `has_completed_background_updates` async
|
4 years ago |
Richard van der Hoff
|
cfe8c8ab8e
Remove unused `start_background_update`
|
4 years ago |
Richard van der Hoff
|
d20c346544
port BackgroundUpdateTestCase to HomeserverTestCase (#6653)
|
4 years ago |
Erik Johnston
|
4a33a6dd19
Move background update handling out of store
|
5 years ago |
Erik Johnston
|
756d4942f5
Move DB pool and helper functions into dedicated Database class
|
5 years ago |
Amber Brown
|
4806651744
Replace returnValue with return (#5736)
|
5 years ago |
Amber Brown
|
b36c82576e
Run Black on the tests again (#5170)
|
5 years ago |
Amber Brown
|
3f189c902e
Fix flake8 (#4519)
|
5 years ago |
Amber Brown
|
99dd975dae
Run tests under PostgreSQL (#3423)
|
6 years ago |
black
|
8b3d9b6b19
Run black.
|
6 years ago |
Amber Brown
|
49af402019
run isort
|
6 years ago |
Richard van der Hoff
|
42f4feb2b7
PEP8
|
8 years ago |
Richard van der Hoff
|
465117d7ca
Fix background_update tests
|
8 years ago |
Mark Haines
|
700487a7c7
Fix flake8 warnings for tests
|
8 years ago |
Mark Haines
|
36c58b18a3
Test for background updates
|
9 years ago |