0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-16 23:43:43 +01:00
dendrite/federationapi
Winter a379d3e814
De-race TestExpireEDUs (#2654)
In some conditions (fast CPUs), this test would race the clock for EDU expiration when all we want to make sure of is that the expired EDUs are properly deleted. Given this, we set the expiry time to 0 so the specified EDUs are always deleted when DeleteExpiredEDUs is called.
Fixes #2650.

Signed-off-by: Winter <winter@winter.cafe>
2022-08-19 07:28:33 +02:00
..
api Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
consumers Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
internal Fix using the remote provided event from /send_join (#2490) 2022-05-25 14:31:07 +01:00
inthttp Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
producers Hopefully fix read receipts timestamps (#2557) 2022-07-05 17:13:26 +01:00
queue Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
routing Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
statistics Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
storage De-race TestExpireEDUs (#2654) 2022-08-19 07:28:33 +02:00
types Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
federationapi.go Add housekeeping function to delete old/expired EDUs (#2399) 2022-08-09 11:15:58 +02:00
federationapi_keys_test.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
federationapi_test.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00