Skip to content

Commit 4444edc

Browse files
author
MarcoFalke
committed
ci: Enable all functional tests in valgrind
1 parent 5518eee commit 4444edc

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

ci/test/00_setup_env_native_valgrind.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export CONTAINER_NAME=ci_native_valgrind
1010
export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
1111
export USE_VALGRIND=1
1212
export NO_DEPENDS=1
13-
export TEST_RUNNER_EXTRA="p2p_segwit.py" # Only run one test for now. TODO enable all and bump timeouts
13+
export TEST_RUNNER_EXTRA="--exclude feature_abortnode,feature_block,rpc_bind" # Excluded for now
1414
export RUN_FUNCTIONAL_TESTS=true
1515
export GOAL="install"
1616
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI

test/functional/feature_cltv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def set_test_params(self):
6060
'-acceptnonstdtxn=1', # cltv_invalidate is nonstandard
6161
]]
6262
self.setup_clean_chain = True
63-
self.rpc_timeout = 120
63+
self.rpc_timeout = 480
6464

6565
def skip_test_if_missing_module(self):
6666
self.skip_if_no_wallet()

test/functional/feature_segwit.py

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def set_test_params(self):
7272
"-addresstype=legacy",
7373
],
7474
]
75+
self.rpc_timeout = 120
7576

7677
def skip_test_if_missing_module(self):
7778
self.skip_if_no_wallet()

test/functional/wallet_createwallet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def run_test(self):
7979
assert_raises_rpc_error(-4, "Error: This wallet has no available keys", w4.getnewaddress)
8080
assert_raises_rpc_error(-4, "Error: This wallet has no available keys", w4.getrawchangeaddress)
8181
# Now set a seed and it should work. Wallet should also be encrypted
82-
w4.walletpassphrase('pass', 2)
82+
w4.walletpassphrase('pass', 60)
8383
w4.sethdseed()
8484
w4.getnewaddress()
8585
w4.getrawchangeaddress()

0 commit comments

Comments
 (0)