File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 99 VERBOSE : 0
1010 LOG_LEVEL : debug
1111 TIMEOUT : 300
12- BITCOIND_VERSION : 23.0
13- BITCOIND_DIR_NAME : " bitcoin-$BITCOIND_VERSION"
1412 matrix :
1513 - name : ' Misc functional tests'
1614 env :
@@ -67,17 +65,23 @@ task:
6765 set -xe
6866
6967 # Download the bitcoind binary
70- ARCHIVE_NAME="$BITCOIND_DIR_NAME.tar.gz"
71- curl https://bitcoincore.org/bin/bitcoin-core-$BITCOIND_VERSION/bitcoin-$BITCOIND_VERSION-x86_64-linux-gnu.tar.gz -o $ARCHIVE_NAME
72- tar -xzf $ARCHIVE_NAME
73- export BITCOIND_PATH=$BITCOIND_DIR_NAME/bin/bitcoind
68+ curl http://download.darosior.ninja/dump/bitcoind-patched-for-revaultd -o $(pwd)/bitcoind
69+ chmod +x $(pwd)/bitcoind
70+ export BITCOIND_PATH=$(pwd)/bitcoind
7471
7572 # Setup the postgres instance for the servers
7673 pg_ctlcluster 13 main start
7774 su -c "psql -c \"CREATE ROLE test CREATEDB LOGIN PASSWORD 'test'\"" - postgres
7875 export POSTGRES_USER=test POSTGRES_PASS=test
7976
8077 # Run the functional tests
81- REVAULTD_PATH=$PWD/target/release/revaultd pytest $TEST_GROUP -vvv -n 2
78+ mkdir test_dir
79+ TEST_DIR=$PWD/test_dir REVAULTD_PATH=$PWD/target/release/revaultd pytest $TEST_GROUP -vvv -n 2
80+
81+ on_failure :
82+ debug_script :
83+ - tail -n100 ./test_dir/revaultd-tests-*/test_*/revaultd-*/log
84+ - tail -n1000 ./test_dir/revaultd-tests-*/test_*/log
85+ - tail -n1000 ./test_dir/revaultd-tests-*/test_*/regtest/debug.log
8286
8387 before_cache_script : rm -rf $CARGO_HOME/registry/index
You can’t perform that action at this time.
0 commit comments