diff --git a/tox.ini b/tox.ini
index eb6a9583200941d2fb25bfe3308bf550ad182ef2..d8fd1c45b8a402c79b100fd44cfb5a7280855f05 100644
--- a/tox.ini
+++ b/tox.ini
@@ -43,15 +43,21 @@ whitelist_externals =
     bash
     sleep
     wget
+    mkdir
 commands =
     tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar
     bash {envtmpdir}/net/start.sh
     bash -c "time python3 {envtmpdir}/net/wait.py {envtmpdir}/net/{auth,relay,exit}*"
     bash -c "python3 {toxinidir}/scripts/tools/sbws-http-server.py --port 28888 &>/dev/null &"
-    sleep 15
+    sleep 1
     wget -O/dev/null http://127.0.0.1:28888/sbws.bin
+    ; Run actually the scanner
+    mkdir -p /tmp/.sbws
+    ; This add around 3min more to the tests
+    sbws -c {toxinidir}/tests/integration/sbws_testnet.ini scanner
     coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
     bash {envtmpdir}/net/stop.sh
+    rm -rf /tmp/.sbws
 
 [testenv:lint]
 skip_install = True