In functional_tests we define --data-dir for the daemon but, the daemon will read the default --config-file too. If you have anything in your default config file that would interfere with tests, that means tests are not going to run correctly.
E.g. you can run the mining test in functional_tests with:
Would be a good idea to have a --no-config-file option to prevent that from being read while running tests.
Or, have the test suite create its own config file and specify that.
In
functional_tests
we define--data-dir
for the daemon but, the daemon will read the default--config-file
too. If you have anything in your default config file that would interfere with tests, that means tests are not going to run correctly.E.g. you can run the
mining
test in functional_tests with:these are the commands we are running for the
mining
test infunctional_tests
: