Upgrade integration tests to Tavern v1.0.0
[ric-plt/a1.git] / tox-integration.ini
index c19899c..271d823 100644 (file)
@@ -28,7 +28,7 @@ whitelist_externals=
     getlogs.sh
 passenv = *
 deps =
-    tavern == 0.34.0 # version 1.0 uses different schema; body -> json
+    tavern == 1.0.0 # pin the version
 changedir=integration_tests
 commands_pre=
     echo "WARNING: make sure you are running with latest docker builds!"
@@ -51,18 +51,17 @@ commands_pre=
     helm install --devel a1 a1mediator
     helm install --devel dbaas dbaas-service
     kubectl get pods --namespace=default
-    echo "wait for pods to start"
+    echo "delay so pods can start"
     sleep 30
     kubectl get pods --namespace=default
     echo "forward ports"
     ./portforward.sh
-    echo "wait for port forward"
+    echo "delay so port forward can start"
     sleep 5
 commands=
     echo "running tavern via pytest"
     pytest --version
-    # --tavern-beta-new-traceback for 0.34.0; fails in 1.0.0
-    pytest --tavern-beta-new-traceback test_a1.tavern.yaml
+    pytest test_a1.tavern.yaml
     echo "running apache bench (ab) on healthcheck endpoint"
     # use -v 4 to make ab chatty
     ab -n 100 -c 10 -v 0 http://localhost:10000/a1-p/healthcheck