Currently the rpcauth-test.py
is problematic, because:
- The boilerplate for the test runner is duplicate or inconsistent with the other (functional) tests. Specifically
ConfigParser
. - The cmake/ci behavior is brittle and can silently fail, as explained in #31476.
- Outside of ctest, this single test has to be run manually and separately, which is easy to forget.
- If the test is manually called, it runs single threaded, when it could just run in parallel with the other functional tests.
- It is also the only “unit” test written in Python, but not called by the functional test runner.
Fix all issues by turning it into a functional test.