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
Add sdl healthcheck to a1's healthcheck
[ric-plt/a1.git]
/
tox-integration.ini
diff --git
a/tox-integration.ini
b/tox-integration.ini
index
81f3bb7
..
62670ef
100644
(file)
--- a/
tox-integration.ini
+++ b/
tox-integration.ini
@@
-1,6
+1,6
@@
# ==================================================================================
# ==================================================================================
-# Copyright (c) 2019 Nokia
-# Copyright (c) 2018-20
19
AT&T Intellectual Property.
+# Copyright (c) 2019
-2020
Nokia
+# Copyright (c) 2018-20
20
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.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-33,8
+33,10
@@
changedir=integration_tests
commands_pre=
echo "WARNING: make sure you're running with latest docker builds!"
sleep 5
commands_pre=
echo "WARNING: make sure you're running with latest docker builds!"
sleep 5
- helm install --devel testreceiver -n testreceiver
- helm install --devel a1mediator -n a1
+# helm v3 is helm install [name] [chart]
+ helm install --devel testreceiver testreceiver
+ helm install --devel a1 a1mediator
+ helm install --devel dbaas dbaas-service
# wait for helm charts
sleep 30
./portforward.sh
# wait for helm charts
sleep 30
./portforward.sh
@@
-43,9
+45,10
@@
commands=
echo "linting"
helm lint a1mediator
helm lint testreceiver
echo "linting"
helm lint a1mediator
helm lint testreceiver
+ helm lint dbaas-service
echo "running tavern"
# run tavern
echo "running tavern"
# run tavern
- pytest --tavern-beta-new-traceback
+ pytest --tavern-beta-new-traceback
test_a1.tavern.yaml
echo "running ab"
# run apache bench
ab -n 100 -c 10 -v 4 http://localhost:10000/a1-p/healthcheck
echo "running ab"
# run apache bench
ab -n 100 -c 10 -v 4 http://localhost:10000/a1-p/healthcheck
@@
-54,8
+57,7
@@
commands_post=
integration_tests/getlogs.sh
echo "teardown"
helm delete testreceiver
integration_tests/getlogs.sh
echo "teardown"
helm delete testreceiver
- helm del --purge testreceiver
helm delete a1
helm delete a1
- helm del
--purge a1
+ helm del
ete dbaas
pkill -9 kubectl
sleep 10
pkill -9 kubectl
sleep 10