X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox-integration.ini;h=49d8f6573680b1751f6b17654cd15232c80e3297;hb=0e3bc64f93a316e49bbdeb047e7592840207231d;hp=1083f4c5f2715c8c74b5ae50e13e762a9fc511ce;hpb=148e2699cf55e5619d181c2e46e1f672456a4422;p=ric-plt%2Fa1.git diff --git a/tox-integration.ini b/tox-integration.ini index 1083f4c..49d8f65 100644 --- a/tox-integration.ini +++ b/tox-integration.ini @@ -1,6 +1,6 @@ # ================================================================================== -# Copyright (c) 2019 Nokia -# Copyright (c) 2018-2019 AT&T Intellectual Property. +# Copyright (c) 2019-2020 Nokia +# Copyright (c) 2018-2020 AT&T Intellectual Property. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ commands_pre= sleep 5 helm install --devel testreceiver -n testreceiver helm install --devel a1mediator -n a1 + helm install --devel dbaas-service -n dbaas # wait for helm charts sleep 30 ./portforward.sh @@ -48,14 +49,16 @@ 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 -# echo "log collection" -#integration_tests/getlogs.sh + 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 helm del --purge a1 + helm del dbaas + helm del --purge dbaas pkill -9 kubectl sleep 10