test: bound serve_in_thread startup to prevent CI hangs
#1897
+13
−5
serve_in_thread startup to prevent CI hangs
#1897