tests: Complete test_swap_direction.

This commit is contained in:
tecnovert
2025-03-20 00:01:54 +02:00
parent 3e7b3925f6
commit cc57d3537d
2 changed files with 114 additions and 16 deletions

View File

@@ -97,8 +97,8 @@ jobs:
mkdir -p ${TEST_PATH}/bin
cp -r $BIN_DIR/* ${TEST_PATH}/bin/
export PYTHONPATH=$(pwd)
python tests/basicswap/extended/test_xmr_persistent.py > /tmp/log.txt 2>&1 & PID=$!
echo "Starting test_xmr_persistent, PID $PID"
python tests/basicswap/extended/test_xmr_persistent.py > /tmp/log.txt 2>&1 & TEST_NETWORK_PID=$!
echo "Starting test_xmr_persistent, PID $TEST_NETWORK_PID"
until curl -s -f -o /dev/null "http://localhost:12701/json/coins"
do
tail -n 1 /tmp/log.txt
@@ -106,4 +106,6 @@ jobs:
done
echo "Running test_settings.py"
python tests/basicswap/selenium/test_settings.py
kill -9 $PID
echo "Running test_swap_direction.py"
python tests/basicswap/selenium/test_swap_direction.py
kill -9 $TEST_NETWORK_PID