The resolved timeout issue seen in the CI can be reproduced locally by running test/functional/feature_nulldummy.py --valgrind --loglevel=debug
Speeds up the normal test runtime for me from 3.8 to 2.2 seconds (debug build). Thanks to Marco Falke for the approach suggestion.