hass-core/tests/components/recorder
J. Nick Koston 398762fdd5
Resume entity id post migration after a restart (#90973)
* Restart entity id post migration after a restart

If the entity migration finished and Home Assistant was
restarted during the post migration it would never be resumed
which means the old index and space would never be recovered

* add migration resume test
2023-04-06 21:16:45 -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 Retain history when renaming an entity_id (#89963) 2023-03-19 17:33:21 -10: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 Resume entity id post migration after a restart (#90973) 2023-04-06 21:16:45 -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 Retain history when renaming an entity_id (#89963) 2023-03-19 17:33:21 -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 Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
test_history.py Add a faster query for get_last_state_changes when the number of states is 1 (#90211) 2023-03-24 09:39:55 -04:00
test_history_db_schema_30.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
test_init.py Guard against invalid ULIDs in contexts while recording events (#90889) 2023-04-06 10:34:54 +02:00
test_migrate.py Fix migration when encountering a NULL entity_id/event_type (#90542) 2023-03-30 20:54:13 -04:00
test_models.py Guard against invalid ULIDs in contexts while recording events (#90889) 2023-04-06 10:34:54 +02:00
test_pool.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_purge.py Fix cpu thrashing during purge after all legacy events were removed (#89923) 2023-03-19 22:04:24 -04:00
test_statistics.py Cleanup some duplicate code in recorder statistics (#90549) 2023-04-01 21:40:14 -04:00
test_statistics_v23_migration.py Add tmpdir to known fixtures in pylint (#89844) 2023-03-17 10:22:02 +01: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