Towards A1 v1.0.0
[ric-plt/a1.git] / tox-integration.ini
index 08f5482..f6191e0 100644 (file)
@@ -24,22 +24,30 @@ whitelist_externals=
     ab
     echo
     pkill
+    kubectl
 passenv = *
 deps =
     tavern
 changedir=integration_tests
 commands_pre=
+    echo "WARNING: make sure you're running with latest docker builds!"
+    sleep 5
     helm install --devel testreceiver -n testreceiver
-    helm install --devel a1mediator/ -n a1
+    helm install --devel a1mediator -n a1
+# wait for helm charts
     sleep 20
+    kubectl get pods --all-namespaces
     ./portforward.sh
     sleep 2
 commands=
     echo "linting"
-    helm lint a1mediator/
+    helm lint a1mediator
+    helm lint testreceiver
     echo "running tavern"
-    pytest
+# run tavern
+    pytest --tavern-beta-new-traceback
     echo "running ab"
+# run apache bench
     ab -n 100 -c 10 -u putdata -T application/json http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
 commands_post=
     helm delete testreceiver