Fixing the current CI failures.
The tests objective is to exercise the chain synchronization code, verifying that the indexes are able to catch up with the chain-tip. Therefore, there is no need to run the process on a worker thread.
Note:
After #27607, the BaseIndex::Start
method will be almost empty.
Only containing the ThreadSync
call, allowing us to extract the
thread ownership from the index class and place it into an external
structure (probably, the thread pool introduced in #26966).