Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use subid and const mts for routing, open id range
[ric-plt/a1.git]
/
tox-integration.ini
diff --git
a/tox-integration.ini
b/tox-integration.ini
index
fb996d1
..
81f3bb7
100644
(file)
--- a/
tox-integration.ini
+++ b/
tox-integration.ini
@@
-24,24
+24,35
@@
whitelist_externals=
ab
echo
pkill
ab
echo
pkill
+ kubectl
+ getlogs.sh
passenv = *
deps =
tavern
changedir=integration_tests
commands_pre=
passenv = *
deps =
tavern
changedir=integration_tests
commands_pre=
+ echo "WARNING: make sure you're running with latest docker builds!"
+ sleep 5
helm install --devel testreceiver -n testreceiver
helm install --devel testreceiver -n testreceiver
- helm install --devel a1mediator/ -n a1
- sleep 20
+ helm install --devel a1mediator -n a1
+# wait for helm charts
+ sleep 30
./portforward.sh
sleep 2
commands=
echo "linting"
./portforward.sh
sleep 2
commands=
echo "linting"
- helm lint a1mediator/
+ helm lint a1mediator
+ helm lint testreceiver
echo "running tavern"
echo "running tavern"
- pytest
+# run tavern
+ pytest --tavern-beta-new-traceback
echo "running ab"
echo "running ab"
- ab -n 100 -c 10 -u putdata -T application/json http://localhost:10000/ric/policies/admission_control_policy
+# run apache bench
+ ab -n 100 -c 10 -v 4 http://localhost:10000/a1-p/healthcheck
commands_post=
commands_post=
+ echo "log collection"
+ integration_tests/getlogs.sh
+ echo "teardown"
helm delete testreceiver
helm del --purge testreceiver
helm delete a1
helm delete testreceiver
helm del --purge testreceiver
helm delete a1