Skip to content

Commit

Permalink
e2e: Update Gloo to v1.8.9
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Aug 23, 2021
1 parent 419000c commit 7d5d771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/gloo/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -o errexit

GLOO_VER="1.6.13"
GLOO_VER="1.8.9"
REPO_ROOT=$(git rev-parse --show-toplevel)

mkdir -p ${REPO_ROOT}/bin
Expand Down
8 changes: 2 additions & 6 deletions test/gloo/test-canary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@ metadata:
name: config-upstream
namespace: gloo-system
spec:
static:
hosts:
- addr: "example.com"
port: 80
connectionConfig:
maxRequestsPerConnection: 51
maxRequestsPerConnection: 1001
EOF

cat <<EOF | kubectl apply -f -
Expand Down Expand Up @@ -98,7 +94,7 @@ ok=false
until ${ok}; do
kubectl -n test get canary/podinfo | grep 'Initialized' && ok=true || ok=false
if $ok ; then
kubectl -n test get upstream/test-podinfo-canaryupstream-80 -ojson | jq 'any(.spec.connectionConfig.maxRequestsPerConnection; contains(51))' && ok=true || ok=false
kubectl -n test get upstream/test-podinfo-canaryupstream-80 -ojson | jq 'any(.spec.connectionConfig.maxRequestsPerConnection; contains(1001))' && ok=true || ok=false
fi
sleep 5
count=$(($count + 1))
Expand Down

0 comments on commit 7d5d771

Please sign in to comment.