0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-04 15:08:59 +01:00
dendrite/roomserver/storage/postgres
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 Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
state_block_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
state_block_table_test.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
state_snapshot_table.go Return ErrRoomNoExists if insufficient state is available for a buildEvent to succeed when joining a room (#2210) 2022-02-21 16:22:29 +00:00
storage.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00