File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ curl -X PATCH -s -H "Content-Type: application/json" -d "{\"id\": \"${decoy_id}\
6060# Send the global configuration to the API
6161curl -X PUT -s -H " Content-Type: application/json" -d " $globalconfig " http://localhost:8050/config > /dev/null
6262# wait a few seconds for the proxy to read the new config
63- sleep 3
63+ sleep 5
6464
6565
6666# Start timing
@@ -73,7 +73,7 @@ tempfile=$(bash ./uuidgen.sh)
7373curl -v --cookie SESSION=c32272b9-99d8-4687-b57e-a606952ae870 -H " x-cloud-active-defense: ACTIVE" -s http://localhost:8000/ & > /dev/null
7474
7575# Wait a little before next request
76- sleep 2
76+ sleep 3
7777# Do relevant action(s)
7878curl -v --max-time 5 --cookie SESSION=c32272b9-99d8-4687-b57e-a606952ae870 http://localhost:8000/ > $tempfile 2>&1
7979
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ curl -X PATCH -s -H "Content-Type: application/json" -d "{\"id\": \"${decoy_id}\
4747curl -X PUT -s -H " Content-Type: application/json" -d " $globalconfig " http://localhost:8050/config > /dev/null
4848
4949# wait a few seconds for the proxy to read the new config
50- sleep 3
50+ sleep 5
5151
5252
5353# Start timing
@@ -60,7 +60,7 @@ tempfile=$(bash ./uuidgen.sh)
6060curl -v -H " x-cloud-active-defense: ACTIVE" -s http://localhost:8000/ & > /dev/null
6161
6262# Wait a little before next request
63- sleep 2
63+ sleep 3
6464# Do relevant action(s)
6565curl -v http://localhost:8000/ > $tempfile 2>&1
6666
You can’t perform that action at this time.
0 commit comments