core/tests/components/recorder
J. Nick Koston 1379ad60c8
Ensure recorder always attempts clean shutdown if recorder thread raises (#91261)
* Ensure recorder run shutdown if the run loop raises

If anything goes wrong with the recorder we should
still try to shutdown cleanly

* tweak

* tests

* tests

* handle migraiton failure

* tweak comment

* naming

* order

* order

* order

* reword

* adjust test

* fixes

* threading

* failure case

* fix test

* have to wait for stop because the task blocks on thread join
2023-04-14 21:03:24 -04:00
..
auto_repairs Use tmp_path in recorder tests (#91202) 2023-04-11 09:18:16 +02:00
table_managers Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
__init__.py
common.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
db_schema_0.py
db_schema_16.py
db_schema_18.py
db_schema_22.py
db_schema_23.py
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 Ensure recorder always attempts clean shutdown if recorder thread raises (#91261) 2023-04-14 21:03:24 -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 Ensure recorder always attempts clean shutdown if recorder thread raises (#91261) 2023-04-14 21:03:24 -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 Avoid multiple round trips to the database for history API calls (#91193) 2023-04-11 22:38:23 -04:00
test_models_legacy.py Avoid multiple round trips to the database for history API calls (#91193) 2023-04-11 22:38:23 -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 Improve performance of sums in the energy dashboard (#91342) 2023-04-13 11:52:38 -10:00
test_statistics_v23_migration.py Use tmp_path in recorder tests (#91202) 2023-04-11 09:18:16 +02: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 Avoid multiple round trips to the database for history API calls (#91193) 2023-04-11 22:38:23 -04:00
test_v32_migration.py Use tmp_path in recorder tests (#91202) 2023-04-11 09:18:16 +02:00
test_websocket_api.py Bump PyJWT to 2.6.0 (#90134) 2023-03-22 20:00:47 -04:00