hass-core/tests/components/recorder
J. Nick Koston 49079691d4
Reduce overhead of legacy database columns on new installs (#90246)
* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* not working as expected

* override the type compiler

* override the type compiler

* override the type compiler

* override the type compiler

* Apply suggestions from code review

* pgsql char1

* make entity filter test setup with old schema

* fix some more tests that were mutating state

* fix some more tests that were mutating state

* fix some more tests that were mutating state

* fix more dbstate mutations

* add shim for older tests

* split migration tests

* add coverage for purging legacy data

* tweak

* more fixes

* drop some legacy

* fix another test

* fix a few more

* add casts for postgresql in case someone deletes the schema changes table

* dry

* dry

* dry
2023-04-10 10:08:46 -04:00
..
auto_repairs Add auto repairs for events schema (#90136) 2023-03-22 21:17:36 -04:00
table_managers Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
__init__.py Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
common.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
db_schema_0.py Separate recorder database schema from other classes (#72977) 2022-06-07 14:41:43 +02:00
db_schema_16.py Separate recorder database schema from other classes (#72977) 2022-06-07 14:41:43 +02:00
db_schema_18.py Separate recorder database schema from other classes (#72977) 2022-06-07 14:41:43 +02:00
db_schema_22.py Separate recorder database schema from other classes (#72977) 2022-06-07 14:41:43 +02:00
db_schema_23.py Separate recorder database schema from other classes (#72977) 2022-06-07 14:41:43 +02:00
db_schema_23_with_newer_columns.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
db_schema_25.py Switch to fnv-hash-fast from fnvhash (#90761) 2023-04-05 20:52:23 -04:00
db_schema_28.py Switch to fnv-hash-fast from fnvhash (#90761) 2023-04-05 20:52:23 -04:00
db_schema_30.py Switch to fnv-hash-fast from fnvhash (#90761) 2023-04-05 20:52:23 -04:00
db_schema_32.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_backup.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_entity_registry.py Require a list of entity ids when fetching history (#90992) 2023-04-08 16:14:44 -10:00
test_filters.py Ensure filters are generated inside the lambda locks (#90418) 2023-03-28 20:50:10 +02:00
test_filters_with_entityfilter.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
test_filters_with_entityfilter_schema_37.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_history.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_history_db_schema_30.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_history_db_schema_32.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_init.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_migrate.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_migration_from_schema_32.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_models.py Fix context_user_id round trip when calling to_native (#91098) 2023-04-08 22:31:28 -04:00
test_pool.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_purge.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_purge_v32_schema.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_statistics.py Require a list of entity ids when fetching history (#90992) 2023-04-08 16:14:44 -10:00
test_statistics_v23_migration.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_system_health.py Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
test_util.py Bump PyJWT to 2.6.0 (#90134) 2023-03-22 20:00:47 -04:00
test_v32_migration.py Resume entity id post migration after a restart (#90973) 2023-04-06 21:16:45 -04:00
test_websocket_api.py Bump PyJWT to 2.6.0 (#90134) 2023-03-22 20:00:47 -04:00