0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-11 04:21:56 +01:00
synapse/tests
Eric Eastwood 1903c7e5ed
Remove duplicate timestamp from test logs (_trial_temp/test.log) (#15636)
Fix https://github.com/matrix-org/synapse/issues/15618

### Before

```
2023-05-17 22:51:36-0500 [-] 2023-05-17 22:51:36,889 - synapse.server - 338 - INFO - sentinel - Finished setting up.
```

### After

```
2023-05-19 18:16:20-0500 [-] synapse.server - 338 - INFO - sentinel - Finished setting up.
```


### Dev notes

The `Twisted.Logger` controls the `2023-05-19 18:16:20-0500 [-]` prefix, see : [`twisted/twisted` -> `src/twisted/logger/_format.py#L362-L374`](34b161e66b/src/twisted/logger/_format.py (L362-L374))

And we delegate our logs to the Twisted Logger for the tests which puts it in `_trial_temp/test.log`
2023-05-22 13:49:01 -05:00
..
api Properly parse event_fields in filters (#15607) 2023-05-22 11:31:22 -04:00
app Remove old R30 because R30v2 supercedes it (#10428) 2023-05-19 11:13:44 -05:00
appservice Add support for claiming multiple OTKs at once. (#15468) 2023-04-27 12:57:46 -04:00
config Throw if the appservice config list is the wrong type (#15425) 2023-04-12 11:28:46 +00:00
crypto Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00
events Properly parse event_fields in filters (#15607) 2023-05-22 11:31:22 -04:00
federation Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
handlers Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
http Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
logging Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
media Apply url_preview_url_blacklist to oEmbed and pre-cached images (#15601) 2023-05-16 16:25:01 -04:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
push Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
replication Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
rest Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Add not null constraint to column full_user_id of tables profiles and user_filters (#15537) 2023-05-16 10:57:39 -07:00
test_utils Remove duplicate timestamp from test logs (_trial_temp/test.log) (#15636) 2023-05-22 13:49:01 -05:00
types Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
util Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Move ThirdPartyEventRules into module_api/callbacks (#15535) 2023-05-04 14:18:22 +00:00
test_distributor.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_event_auth.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_federation.py Remove legacy code of single user device resync api (#15418) 2023-04-21 12:06:39 +01:00
test_mau.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_phone_home.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_rust.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_server.py Add Synapse-Trace-Id to access-control-expose-headers header (#14974) 2023-03-20 11:14:05 -07:00
test_state.py Fix subscriptable type usage in Python <3.9 (#15604) 2023-05-16 12:19:46 -05:00
test_terms_auth.py Proper types for tests.test_terms_auth (#15007) 2023-02-07 12:03:39 +00:00
test_test_utils.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_types.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_visibility.py Refactor filter_events_for_server (#15240) 2023-03-10 15:31:25 +00:00
unittest.py Limit the size of the HomeServerConfig cache in trial test runs (#15646) 2023-05-22 13:25:39 +01:00
utils.py Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00