X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox-integration.ini;h=b3a918348a68dd11b9fec06668c85a09f7cd8bcf;hb=refs%2Fchanges%2F75%2F375%2F1;hp=e636aed90c7b3a1b11ef5f65f23546068554a84c;hpb=5ad8f03e1fc7683bb59da31f59edc2f6c0b2372b;p=ric-plt%2Fa1.git diff --git a/tox-integration.ini b/tox-integration.ini index e636aed..b3a9183 100644 --- a/tox-integration.ini +++ b/tox-integration.ini @@ -20,17 +20,31 @@ envlist = int [testenv:int] whitelist_externals= sleep - docker-compose + helm ab + echo + pkill +passenv = * deps = - pytest-xdist tavern changedir=integration_tests commands_pre= - docker-compose up --build -d + helm install --devel testreceiver -n testreceiver + helm install --devel a1mediator/ -n a1 + sleep 10 + ./portforward.sh sleep 2 commands= - pytest -n 2 + echo "linting" + helm lint a1mediator/ + echo "running tavern" + pytest + echo "running ab" ab -n 100 -c 10 -u putdata -T application/json http://localhost:10000/ric/policies/control_admission_time commands_post= - docker-compose down + helm delete testreceiver + helm del --purge testreceiver + helm delete a1 + helm del --purge a1 + pkill -9 kubectl + sleep 10