Skip to content

Commit fabe28a

Browse files
author
MarcoFalke
committed
qa: Temporarily disable test that reads the default datadir location
1 parent 41a8c8d commit fabe28a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/functional/feature_config_args.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ def run_test(self):
3636
f.write("datadir=" + new_data_dir + "\n")
3737
f.write(conf_file_contents)
3838

39-
self.nodes[0].assert_start_raises_init_error(['-conf=' + conf_file], 'Error reading configuration file: specified data directory "' + new_data_dir + '" does not exist.')
39+
# Temporarily disabled, because this test would access the user's home dir (~/.bitcoin)
40+
#self.nodes[0].assert_start_raises_init_error(['-conf=' + conf_file], 'Error reading configuration file: specified data directory "' + new_data_dir + '" does not exist.')
4041

4142
# Create the directory and ensure the config file now works
4243
os.mkdir(new_data_dir)
43-
self.start_node(0, ['-conf='+conf_file, '-wallet=w1'])
44-
self.stop_node(0)
45-
assert os.path.exists(os.path.join(new_data_dir, 'regtest', 'wallets', 'w1'))
44+
# Temporarily disabled, because this test would access the user's home dir (~/.bitcoin)
45+
#self.start_node(0, ['-conf='+conf_file, '-wallet=w1'])
46+
#self.stop_node(0)
47+
#assert os.path.exists(os.path.join(new_data_dir, 'regtest', 'wallets', 'w1'))
4648

4749
# Ensure command line argument overrides datadir in conf
4850
os.mkdir(new_data_dir_2)

0 commit comments

Comments
 (0)