Ensure recorder data integrity and MySQL lock error handling (#37228)

This commit is contained in:
Franck Nijhof authored and Paulus Schoutsen committed 2020-06-30 00:25:34 +00:00
1 parent edc44230b4
commit dbdd4f0e39
2 files changed
+40 -26

No files matched your search

+1 -1
View File
@@ -224,6 +224,6 @@ class TestRecorderPurge(unittest.TestCase):
self.hass.block_till_done()
self.hass.data[DATA_INSTANCE].block_till_done()
assert (
mock_logger.debug.mock_calls[4][1][0]
mock_logger.debug.mock_calls[5][1][0]
== "Vacuuming SQL DB to free space"
)