Currently the test_bitcoin-qt
unit test uses the standard regtest port. It will fail to start if something else is using the regtest port, like a regtest instance of bitcoind or bitcoin-qt. Or another running test_bitcoin-qt
(this happens if you are updating multiple branches at the same time). Instead of using the standard regtest port, this unit test should be using a random free port like we do in the functional tests.
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.