0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-18 12:28:28 +02:00
dendrite/roomserver/storage/sqlite3
Till f69ebc6af2
Add roomserver tests (1/?) (#2434)
* Add EventJSONTable tests

* Add eventJSON tests

* Add EventStateKeysTable tests

* Add EventTypesTable tests

* Add Events Table tests
Move variable declaration outside loops
Switch to testify/assert for tests

* Move variable declaration outside loop

* Remove random data

* Fix issue where the EventReferenceSHA256 is not set

* Add more tests

* Revert "Fix issue where the EventReferenceSHA256 is not set"

This reverts commit 8ae34c4e5f.

* Update GMSL

* Add tests for duplicate entries

* Test what happens if we select non-existing NIDs

* Add test for non-existing eventType

* Really update GMSL
2022-05-09 15:30:32 +02:00
..
deltas Reset invalid state snapshots for events during state storage refactor migration (#2209) 2022-02-21 15:25:54 +00:00
event_json_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_state_keys_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_types_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
events_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
invite_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
membership_table.go Various bug fixes and tweaks around invites and membership 2022-03-17 17:05:21 +00:00
previous_events_table.go Factor out StatementList to sqlutil and use it in userapi 2021-07-28 18:30:04 +01:00
published_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
redactions_table.go Factor out StatementList to sqlutil and use it in userapi 2021-07-28 18:30:04 +01:00
room_aliases_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
rooms_table.go Assign room NIDs, event type NIDs and state key NIDs outside of database transactions (#2265) 2022-03-17 18:24:27 +00:00
state_block_table.go Fix memory leaks with SQLite prepared statements (#2253) 2022-03-04 15:05:42 +00:00
state_block_table_test.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
state_snapshot_table.go Fix memory leaks with SQLite prepared statements (#2253) 2022-03-04 15:05:42 +00:00
storage.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00