Upgrade to rmr which required two changes
* switch to rmr 1.8.1 to pick up a non blocking variant of rmr that deals with bad routing tables (no hanging connections / blocking calls)
* improve test receiver to behave with this setup
* add integration test for this case
* this also switches past 1.5.x, which included another change that altered the behavior of rts; deal with this with a change to a1s helmchart that causes the sourceid to be set to a1s service name, which was not needed prior
* improve integration tests overall
Change-Id: I155994b6f512485a5a73fc31923a46d182aeda87
Signed-off-by: Tommy Carpenter <tc677g@att.com>
diff --git a/tox-integration.ini b/tox-integration.ini
index f6191e0..1083f4c 100644
--- a/tox-integration.ini
+++ b/tox-integration.ini
@@ -25,6 +25,7 @@
echo
pkill
kubectl
+ getlogs.sh
passenv = *
deps =
tavern
@@ -35,8 +36,7 @@
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=
@@ -49,7 +49,10 @@
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
commands_post=
+ echo "teardown"
helm delete testreceiver
helm del --purge testreceiver
helm delete a1