test(utils): add SleeperThread reassignment regression

We needed a regression test for reassignment safety after lifecycle fixes.

I added a subprocess test that reassigns SleeperThread workers and verifies the
process exits normally instead of terminating.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman
2026-02-09 13:39:26 -06:00
parent dbbad059f7
commit 1c61ecf864
2 changed files with 43 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ test_src = files(
'../../src/config.cpp',
'JsonParser.cpp',
'SafeSignal.cpp',
'sleeper_thread.cpp',
'css_reload_helper.cpp',
'../../src/util/css_reload_helper.cpp',
)