X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox-integration.ini;h=c065542266f9a6caad2f6223da132d1f6cc6853f;hb=6242a3ff1b95eb8fc89931b11115ec9c06d08e96;hp=c19899c19e1cfbff410210ba54bd10b8e91aa1c7;hpb=75d92b757580f01bacdb745c1a1afc17f8a6f913;p=ric-plt%2Fa1.git diff --git a/tox-integration.ini b/tox-integration.ini index c19899c..c065542 100644 --- a/tox-integration.ini +++ b/tox-integration.ini @@ -28,7 +28,7 @@ whitelist_externals= getlogs.sh passenv = * deps = - tavern == 0.34.0 # version 1.0 uses different schema; body -> json + tavern == 1.2.2 # 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" - sleep 30 + echo "delay so pods can start" + sleep 60 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