+ helm lint dbaas-service
+ helm install --devel testreceiver testreceiver
+ helm install --devel a1 a1mediator
+ helm install --devel dbaas dbaas-service
+ kubectl get pods --namespace=default
+ echo "wait for pods to start"
+ sleep 30
+ kubectl get pods --namespace=default
+ echo "forward ports"
+ ./portforward.sh
+ echo "wait for port forward"
+ 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
+ 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