Skip to content

Commit 6534ea0

Browse files
loop 100 times
1 parent 548bf6c commit 6534ea0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/install_demo_app.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bash
22
setup_environment () {
3-
set -x
43

54
IFACE=`route -n | awk '$1 == "192.168.5.0" {print $8}'`
65
CIDR=`ip addr show ${IFACE} | awk '$2 ~ "192.168.5" {print $2}'`
@@ -53,7 +52,7 @@ EOF
5352
read_secrets_with_token () {
5453
SUCCESS=0
5554
APPROLETEST=${1}
56-
for i in {1..10000}
55+
for i in {1..100}
5756
do
5857
curl -s \
5958
--header "X-Vault-Token: ${APPROLE_TOKEN}" \
@@ -85,4 +84,4 @@ read_secrets_with_token () {
8584

8685
setup_environment
8786
get_new_app_role_token
88-
read_secrets_with_token 10000
87+
read_secrets_with_token 100

0 commit comments

Comments
 (0)