Commit graph

7 commits

Author SHA1 Message Date
Roger A. Light
1cd83de189 Test: Improve persistence test handling
Sqlite uses contextlib for opening connections
Checks can optionally pass an existing connection so the db only needs
to be opened once even in the full check_db case
2026-05-03 01:17:26 +01:00
Roger A. Light
06b22f9bcf Test: Better persistence retry mechanism, and cover more cases 2026-05-03 01:17:26 +01:00
Roger Light
310dafd6c9 Retry persist check db checks up to 5 times
The 1 second delay on each iteration helps ensure that the data is
written to disk before the check, on high load scenarios.
2026-04-16 21:35:46 +01:00
Roger A. Light
17b3cea03f Remove redundant information from test identifiers 2025-08-23 01:02:45 +01:00
Norbert Heusser
424df70395 Add support for will message to persistence API and Sqlite3 persistence plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2025-07-10 00:52:33 +01:00
Norbert Heusser
fa6bb8b458 Fixed deletion of expired retain msg after restore from persistent plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-03-12 07:54:28 +00:00
Norbert Heusser
6ca0fe1a14 Add second subscriber to persistent plugin expiry test
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-03-12 07:54:24 +00:00