X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox-integration.ini;h=81f3bb720b9bbc2b34b35d34d30ce6b74bb0bbf2;hb=refs%2Fchanges%2F01%2F1901%2F1;hp=f6191e08b2246bc7c4d3f890f6080db9ed0c7545;hpb=91ae88989c82b08b9fb69a28f838d6b80681d953;p=ric-plt%2Fa1.git diff --git a/tox-integration.ini b/tox-integration.ini index f6191e0..81f3bb7 100644 --- a/tox-integration.ini +++ b/tox-integration.ini @@ -25,6 +25,7 @@ whitelist_externals= echo pkill kubectl + getlogs.sh passenv = * deps = tavern @@ -35,8 +36,7 @@ commands_pre= helm install --devel testreceiver -n testreceiver helm install --devel a1mediator -n a1 # wait for helm charts - sleep 20 - kubectl get pods --all-namespaces + sleep 30 ./portforward.sh sleep 2 commands= @@ -48,8 +48,11 @@ commands= 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 + ab -n 100 -c 10 -v 4 http://localhost:10000/a1-p/healthcheck commands_post= + echo "log collection" + integration_tests/getlogs.sh + echo "teardown" helm delete testreceiver helm del --purge testreceiver helm delete a1